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.0008441/0.0008441, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.000853/0.000853, allocations: 159.4 kB / 25.45 MB, free: 9.352 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.8721/0.8721, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.393e-06/1.393e-06, allocations: 0 / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.046e-05, allocations: 3.828 kB / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002234/0.002255, allocations: 2.125 MB / 301.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.003067, allocations: 0.73 MB / 302.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.003092, allocations: 0 / 302.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.333e-05/0.003165, allocations: 7.938 kB / 302.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.003265, allocations: 15.92 kB / 302.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.003688, allocations: 215.3 kB / 302.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.003754, allocations: 12 kB / 302.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.003795, allocations: 11.98 kB / 302.8 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.004069, allocations: 11.88 kB / 302.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.004134, allocations: 15.97 kB / 302.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.004147, allocations: 0 / 302.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.004354, allocations: 171.8 kB / 303 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.004363, allocations: 0 / 303 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.505e-05/0.004378, allocations: 4 kB / 303 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004574, allocations: 167.5 kB / 303.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004576, allocations: 4 kB / 303.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004577, allocations: 0 / 303.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004581, allocations: 4 kB / 303.2 MB, free: 3.43 MB / 282.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.000211/0.004792, allocations: 274.1 kB / 303.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.004822, allocations: 11.98 kB / 303.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.004848, allocations: 12.88 kB / 303.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.074e-05/0.004918, allocations: 117.7 kB / 303.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.004925, allocations: 384 / 303.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.00493, allocations: 384 / 303.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.004997, allocations: 55.97 kB / 303.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.005003, allocations: 4.172 kB / 303.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.005009, allocations: 384 / 303.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.005013, allocations: 11.94 kB / 303.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.005027, allocations: 4 kB / 303.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.005235, allocations: 347.6 kB / 304 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.22e-05/0.005287, allocations: 165.1 kB / 304.1 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.005307, allocations: 80.14 kB / 304.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.005326, allocations: 79.28 kB / 304.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.005357, allocations: 113.8 kB / 304.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.02e-07/0.005357, allocations: 0 / 304.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.117e-05/0.005398, allocations: 37.58 kB / 304.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.005449, allocations: 156.4 kB / 304.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.005524, allocations: 118.1 kB / 304.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005533, allocations: 29.7 kB / 304.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.005573, allocations: 88.14 kB / 304.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.005576, allocations: 0 / 304.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.0056, allocations: 17.7 kB / 304.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.005669, allocations: 310.8 kB / 305.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.005677, allocations: 4 kB / 305.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.005698, allocations: 33.7 kB / 305.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.982e-05/0.005717, allocations: 16.88 kB / 305.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005718, allocations: 3.938 kB / 305.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.552e-05/0.005784, allocations: 49.69 kB / 305.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.005799, allocations: 7.938 kB / 305.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005805, allocations: 4 kB / 305.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005816, allocations: 4 kB / 305.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-05/0.005848, allocations: 0 / 305.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.005854, allocations: 4.062 kB / 305.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.005876, allocations: 0 / 305.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.00589, allocations: 7.984 kB / 305.3 MB, free: 1.109 MB / 282.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 7.033e-05/0.00596, allocations: 181.1 kB / 305.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.005999, allocations: 112.9 kB / 305.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.00603, allocations: 112.5 kB / 305.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/0.006072, allocations: 184.2 kB / 305.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/0.006113, allocations: 180.2 kB / 306 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.351e-05/0.006157, allocations: 180.3 kB / 306.2 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.006297, allocations: 360.8 kB / 306.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/0.00632, allocations: 101 kB / 306.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.006341, allocations: 104.9 kB / 306.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.929e-05/0.006381, allocations: 184.2 kB / 306.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.006422, allocations: 180.2 kB / 307.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.212e-05/0.006464, allocations: 188.2 kB / 307.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.77e-05/0.006501, allocations: 184.3 kB / 307.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.398e-05/0.006585, allocations: 303.8 kB / 307.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.006617, allocations: 112.9 kB / 307.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.00667, allocations: 192.1 kB / 308.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.00672, allocations: 101 kB / 308.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.006764, allocations: 180.3 kB / 308.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.006788, allocations: 104.9 kB / 308.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.006824, allocations: 95.27 kB / 308.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006824, allocations: 0 / 308.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.007007, allocations: 47.86 kB / 308.6 MB, free: 13.61 MB / 298.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.0003318/0.007339, allocations: 272.9 kB / 308.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.007398, allocations: 7.938 kB / 308.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007399, allocations: 0 / 308.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.007402, allocations: 12 kB / 308.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.007623, allocations: 455.7 kB / 309.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/0.007801, allocations: 197.9 kB / 309.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.007837, allocations: 63.28 kB / 309.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.007857, allocations: 12.5 kB / 309.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.007857, allocations: 0 / 309.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Templates: time 0.002137/0.009995, allocations: 1.139 MB / 310.7 MB, free: 11.41 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.063637892715633]