Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 211.7 kB / 23.73 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 55.91 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2432, allocations: 53.42 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001854/0.245, allocations: 0.5072 MB / 432.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2471, allocations: 1.404 MB / 433.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.2471, allocations: 0 / 433.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.2471, allocations: 4 kB / 433.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.304e-05/0.2472, allocations: 3.938 kB / 433.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.2479, allocations: 178.2 kB / 433.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.353e-05/0.2479, allocations: 19.92 kB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.248, allocations: 0 / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.248, allocations: 15.94 kB / 433.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.2481, allocations: 11.97 kB / 433.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.2481, allocations: 0 / 433.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.2484, allocations: 163.8 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.2484, allocations: 4 kB / 433.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.2484, allocations: 3.938 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.2486, allocations: 122.4 kB / 434 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2486, allocations: 3.938 kB / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2487, allocations: 0 / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2487, allocations: 0 / 434 MB, free: 4.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003763/0.249, allocations: 278.1 kB / 434.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2491, allocations: 19.98 kB / 434.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.2492, allocations: 0.9375 kB / 434.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2493, allocations: 110.5 kB / 434.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2493, allocations: 384 / 434.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2493, allocations: 4.125 kB / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2495, allocations: 59.34 kB / 434.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2495, allocations: 4 kB / 434.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.2495, allocations: 0 / 434.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2495, allocations: 0 / 434.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.2495, allocations: 0 / 434.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.2499, allocations: 363.5 kB / 434.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.25, allocations: 169.1 kB / 435 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.25, allocations: 80.14 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.25, allocations: 79.28 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.2501, allocations: 105.8 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.2501, allocations: 0 / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.2502, allocations: 25.7 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.2503, allocations: 160.4 kB / 435.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2504, allocations: 105.8 kB / 435.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2504, allocations: 29.64 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.2505, allocations: 84.14 kB / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2505, allocations: 4 kB / 435.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2505, allocations: 25.64 kB / 435.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2506, allocations: 314.8 kB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.2506, allocations: 4 kB / 436 MB, free: 1.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.2507, allocations: 25.95 kB / 436.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.2507, allocations: 12.86 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2507, allocations: 7.938 kB / 436.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.2508, allocations: 41.64 kB / 436.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2508, allocations: 4.125 kB / 436.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2508, allocations: 7.984 kB / 436.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2508, allocations: 4 kB / 436.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.2509, allocations: 3.938 kB / 436.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2509, allocations: 0 / 436.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.2509, allocations: 0 / 436.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2509, allocations: 4 kB / 436.1 MB, free: 1.801 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.2511, allocations: 189 kB / 436.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.2511, allocations: 109 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.2512, allocations: 104.5 kB / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.277e-05/0.2513, allocations: 184.2 kB / 436.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-05/0.2513, allocations: 180.3 kB / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.832e-05/0.2514, allocations: 184.2 kB / 437.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.2517, allocations: 360.8 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.2517, allocations: 104.9 kB / 437.5 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.2518, allocations: 105 kB / 437.6 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-05/0.2518, allocations: 176.3 kB / 437.8 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/0.2519, allocations: 192.2 kB / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.319e-05/0.252, allocations: 176.5 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-05/0.2521, allocations: 184.2 kB / 438.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2522, allocations: 311.8 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.2523, allocations: 108.9 kB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.2524, allocations: 180.3 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2525, allocations: 108.9 kB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.2526, allocations: 180.3 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.2526, allocations: 101 kB / 439.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.2527, allocations: 87.28 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2527, allocations: 0 / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000286/0.2529, allocations: 47.86 kB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003874/0.2533, allocations: 252.6 kB / 439.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.2534, allocations: 0 / 439.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2534, allocations: 8 kB / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.2534, allocations: 0 / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2538, allocations: 459.6 kB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.254, allocations: 164.3 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.2541, allocations: 55.36 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.2542, allocations: 15.97 kB / 440.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.2542, allocations: 11.5 kB / 440.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2542, allocations: 3.938 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Templates: time 0.003647/0.2578, allocations: 0.9822 MB / 441.4 MB, free: 12.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3226637449115515]