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.001066/0.001066, allocations: 80.98 kB / 22.99 MB, free: 1.496 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.00118/0.00118, allocations: 173.3 kB / 26.4 MB, free: 8.094 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.9586/0.9586, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.503e-06/1.503e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.438e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002727/0.002751, allocations: 2.266 MB / 254.5 MB, free: 4.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.00362, allocations: 0.7455 MB / 255.3 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.003655, allocations: 0 / 255.3 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.003732, allocations: 7.984 kB / 255.3 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.003832, allocations: 3.938 kB / 255.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.004297, allocations: 211.3 kB / 255.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.004372, allocations: 19.94 kB / 255.5 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.004408, allocations: 7.984 kB / 255.5 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.004457, allocations: 7.938 kB / 255.5 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.004527, allocations: 15.98 kB / 255.5 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.00454, allocations: 3.984 kB / 255.5 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.004783, allocations: 167.7 kB / 255.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.004798, allocations: 3.984 kB / 255.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.004814, allocations: 8 kB / 255.7 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.005094, allocations: 159.6 kB / 255.9 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005097, allocations: 0 / 255.9 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.005098, allocations: 0 / 255.9 MB, free: 3.617 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.005101, allocations: 4 kB / 255.9 MB, free: 3.613 MB / 234.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.0002765/0.005378, allocations: 380.3 kB / 256.2 MB, free: 3.207 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.005412, allocations: 15.98 kB / 256.3 MB, free: 3.191 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.00544, allocations: 4.891 kB / 256.3 MB, free: 3.188 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.005523, allocations: 116.6 kB / 256.4 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.005534, allocations: 384 / 256.4 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.005542, allocations: 4.312 kB / 256.4 MB, free: 3.043 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.062e-05/0.005612, allocations: 59.97 kB / 256.4 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005619, allocations: 192 / 256.4 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.005625, allocations: 384 / 256.4 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.005633, allocations: 7.938 kB / 256.4 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.005649, allocations: 4 kB / 256.4 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.005914, allocations: 467.3 kB / 256.9 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.005999, allocations: 269.4 kB / 257.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.00603, allocations: 126.9 kB / 257.3 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.006058, allocations: 119.2 kB / 257.4 MB, free: 1.953 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.006105, allocations: 160.6 kB / 257.6 MB, free: 1.785 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.006105, allocations: 0 / 257.6 MB, free: 1.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 5.752e-05/0.006163, allocations: 33.59 kB / 257.6 MB, free: 1.746 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.006231, allocations: 200.3 kB / 257.8 MB, free: 1.527 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.006339, allocations: 181.8 kB / 258 MB, free: 1.332 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.006355, allocations: 25.7 kB / 258 MB, free: 1.301 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.006427, allocations: 134.9 kB / 258.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.006428, allocations: 0 / 258.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.006462, allocations: 27.36 kB / 258.2 MB, free: 1.129 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.006598, allocations: 492.1 kB / 258.6 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.006608, allocations: 0 / 258.6 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.006637, allocations: 29.7 kB / 258.7 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.006674, allocations: 11.67 kB / 258.7 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.006677, allocations: 96 / 258.7 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.927e-05/0.006777, allocations: 41.66 kB / 258.7 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006789, allocations: 4 kB / 258.7 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.006798, allocations: 7.875 kB / 258.7 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006809, allocations: 4 kB / 258.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.006862, allocations: 0 / 258.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.006866, allocations: 0 / 258.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.006907, allocations: 0 / 258.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.006922, allocations: 7.984 kB / 258.7 MB, free: 0.5156 MB / 234.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 9.177e-05/0.007014, allocations: 275.8 kB / 259 MB, free: 240 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.007067, allocations: 156.9 kB / 259.2 MB, free: 76 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.00713, allocations: 156.2 kB / 259.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.007191, allocations: 268.1 kB / 259.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-05/0.007253, allocations: 268.1 kB / 259.8 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.656e-05/0.007319, allocations: 268 kB / 260.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.007502, allocations: 484.6 kB / 260.6 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/0.007542, allocations: 156.8 kB / 260.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.007583, allocations: 148.9 kB / 260.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-05/0.007644, allocations: 264.1 kB / 261.1 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.007709, allocations: 272 kB / 261.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.795e-05/0.007767, allocations: 264.1 kB / 261.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.389e-05/0.007831, allocations: 276 kB / 261.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.00798, allocations: 452 kB / 262.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.008021, allocations: 152.8 kB / 262.5 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.008085, allocations: 268.1 kB / 262.8 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.008165, allocations: 156.8 kB / 262.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.008233, allocations: 272 kB / 263.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.00827, allocations: 152.8 kB / 263.3 MB, free: 11.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.597e-05/0.008316, allocations: 135.2 kB / 263.5 MB, free: 11.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008316, allocations: 0 / 263.5 MB, free: 11.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.008517, allocations: 39.88 kB / 263.5 MB, free: 11.55 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.000419/0.008936, allocations: 329.2 kB / 263.8 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.433e-05/0.009, allocations: 11.69 kB / 263.8 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009002, allocations: 4.062 kB / 263.8 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.009004, allocations: 0 / 263.8 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.009301, allocations: 0.7023 MB / 264.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.009522, allocations: 236.5 kB / 264.8 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.009557, allocations: 55.36 kB / 264.8 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.703e-05/0.009594, allocations: 7.984 kB / 264.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.009651, allocations: 78.19 kB / 264.9 MB, free: 10.09 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009652, allocations: 0 / 264.9 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Templates: time 0.003142/0.01279, allocations: 1.319 MB / 266.2 MB, free: 8.773 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.5656777429394424]