Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 79.73 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 166.9 kB / 25.33 MB, free: 9.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8408/0.8408, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.616e-05, allocations: 2.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003581/0.003607, allocations: 2.275 MB / 253.3 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004737, allocations: 0.7572 MB / 254.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.004771, allocations: 0 / 254.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.455e-05/0.004866, allocations: 11.94 kB / 254.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.004976, allocations: 0 / 254.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.00559, allocations: 215.3 kB / 254.3 MB, free: 344 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.005674, allocations: 19.98 kB / 254.3 MB, free: 324 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.005707, allocations: 0 / 254.3 MB, free: 324 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.005761, allocations: 7.938 kB / 254.3 MB, free: 316 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.005825, allocations: 19.97 kB / 254.3 MB, free: 296 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.00584, allocations: 4 kB / 254.3 MB, free: 292 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.006133, allocations: 175.6 kB / 254.5 MB, free: 116 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.006145, allocations: 0 / 254.5 MB, free: 116 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.006165, allocations: 4 kB / 254.5 MB, free: 112 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.006453, allocations: 167.6 kB / 254.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006456, allocations: 0 / 254.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006457, allocations: 0 / 254.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.006461, allocations: 0 / 254.7 MB, free: 15.95 MB / 250.7 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.0003468/0.006808, allocations: 376.3 kB / 255 MB, free: 15.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.006847, allocations: 15.98 kB / 255.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.006893, allocations: 8.922 kB / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.007001, allocations: 116.6 kB / 255.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.007013, allocations: 384 / 255.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.007025, allocations: 4.375 kB / 255.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/0.007123, allocations: 55.91 kB / 255.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.00713, allocations: 192 / 255.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007142, allocations: 8.359 kB / 255.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.00715, allocations: 3.938 kB / 255.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.184e-05/0.007162, allocations: 0 / 255.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.007754, allocations: 486.7 kB / 255.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.658e-05/0.00785, allocations: 265.4 kB / 256 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.00789, allocations: 138.8 kB / 256.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.007919, allocations: 119.2 kB / 256.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.007972, allocations: 156.5 kB / 256.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.007973, allocations: 0 / 256.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 6.825e-05/0.008041, allocations: 33.66 kB / 256.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.008123, allocations: 200.3 kB / 256.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.008239, allocations: 177.9 kB / 256.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.00825, allocations: 25.7 kB / 256.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.008311, allocations: 130.9 kB / 256.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-06/0.008314, allocations: 0 / 256.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.008348, allocations: 23.38 kB / 257 MB, free: 13.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.008484, allocations: 0.4884 MB / 257.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.008497, allocations: 3.938 kB / 257.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.008524, allocations: 29.7 kB / 257.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.008551, allocations: 11.69 kB / 257.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008553, allocations: 3.938 kB / 257.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.008663, allocations: 41.64 kB / 257.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.008678, allocations: 10.59 kB / 257.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.008682, allocations: 0 / 257.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.008694, allocations: 128 / 257.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.008747, allocations: 8 kB / 257.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.008752, allocations: 4 kB / 257.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/0.008791, allocations: 0 / 257.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.008805, allocations: 4 kB / 257.6 MB, free: 12.82 MB / 250.7 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.0001098/0.008915, allocations: 275.7 kB / 257.8 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.008985, allocations: 156.8 kB / 258 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.009042, allocations: 152.4 kB / 258.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.009108, allocations: 272 kB / 258.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-05/0.009177, allocations: 264.1 kB / 258.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-05/0.009248, allocations: 272 kB / 258.9 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.009465, allocations: 0.4922 MB / 259.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/0.009505, allocations: 148.9 kB / 259.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.009549, allocations: 152.8 kB / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.161e-05/0.009621, allocations: 272.1 kB / 260 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/0.009699, allocations: 276 kB / 260.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-05/0.009768, allocations: 264.1 kB / 260.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-05/0.009841, allocations: 268.1 kB / 260.8 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.00999, allocations: 444 kB / 261.2 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.01004, allocations: 160.8 kB / 261.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.01012, allocations: 268 kB / 261.6 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.01022, allocations: 152.9 kB / 261.8 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.0103, allocations: 272 kB / 262 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.01034, allocations: 144.9 kB / 262.2 MB, free: 8.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.0104, allocations: 135.2 kB / 262.3 MB, free: 7.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0104, allocations: 0 / 262.3 MB, free: 7.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.01074, allocations: 43.88 kB / 262.4 MB, free: 7.832 MB / 250.7 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.0004989/0.01124, allocations: 328.9 kB / 262.7 MB, free: 7.516 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.01133, allocations: 15.62 kB / 262.7 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01133, allocations: 0 / 262.7 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.01133, allocations: 0 / 262.7 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.01198, allocations: 0.7139 MB / 263.4 MB, free: 6.777 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.01222, allocations: 228.6 kB / 263.6 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.01225, allocations: 51.42 kB / 263.7 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01229, allocations: 15.92 kB / 263.7 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.01231, allocations: 8.5 kB / 263.7 MB, free: 6.43 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01231, allocations: 4 kB / 263.7 MB, free: 6.426 MB / 250.7 MB Notification: Performance of Templates: time 0.004264/0.01657, allocations: 1.353 MB / 265.1 MB, free: 5.078 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5193774229846895]