Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008943, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008655/0.0008655, allocations: 147 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8794/0.8794, allocations: 173.4 MB / 201.5 MB, free: 8.77 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.428e-06/1.048e-05, allocations: 2.312 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0009735/0.000984, allocations: 0.5617 MB / 269.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.002197, allocations: 1.386 MB / 270.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.002215, allocations: 4 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.002227, allocations: 3.938 kB / 270.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.002252, allocations: 0 / 270.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.00264, allocations: 163.4 kB / 270.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.002682, allocations: 15.98 kB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.002712, allocations: 4 kB / 270.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.002756, allocations: 11.92 kB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.0028, allocations: 4 kB / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.002813, allocations: 4 kB / 270.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.003032, allocations: 183.7 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.003042, allocations: 4 kB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.003054, allocations: 7.938 kB / 270.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003209, allocations: 143.7 kB / 271 MB, free: 3.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003211, allocations: 0 / 271 MB, free: 3.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003212, allocations: 0 / 271 MB, free: 3.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.003215, allocations: 0 / 271 MB, free: 3.508 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.0001856/0.0034, allocations: 252.8 kB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.003434, allocations: 12.92 kB / 271.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.003456, allocations: 0.9375 kB / 271.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.516e-05/0.003521, allocations: 113.7 kB / 271.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.003529, allocations: 8.359 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.003535, allocations: 384 / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.156e-05/0.003596, allocations: 59.95 kB / 271.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.003602, allocations: 3.938 kB / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.003608, allocations: 0 / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.003611, allocations: 0 / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.034e-05/0.003622, allocations: 7.938 kB / 271.4 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.003886, allocations: 316 kB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.003932, allocations: 173.1 kB / 271.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.00395, allocations: 84.14 kB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.003967, allocations: 75.28 kB / 272.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.003997, allocations: 113.8 kB / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003998, allocations: 0 / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.303e-05/0.004041, allocations: 33.62 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.004083, allocations: 156.4 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.004139, allocations: 110.7 kB / 272.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.004147, allocations: 25.7 kB / 272.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.004183, allocations: 96.06 kB / 272.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.004184, allocations: 0 / 272.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.004208, allocations: 17.72 kB / 272.6 MB, free: 1.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.00427, allocations: 314.8 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-06/0.004275, allocations: 3.984 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.004291, allocations: 29.7 kB / 272.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.004309, allocations: 12.8 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.00431, allocations: 0 / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.291e-05/0.004363, allocations: 33.64 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.004371, allocations: 4 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.004374, allocations: 0 / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.004384, allocations: 7.984 kB / 273 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.682e-05/0.004411, allocations: 4.125 kB / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.004413, allocations: 0 / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.004436, allocations: 0 / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.004442, allocations: 4 kB / 273 MB, free: 1.297 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 5.255e-05/0.004494, allocations: 181.1 kB / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.004531, allocations: 112.9 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.004562, allocations: 112.4 kB / 273.4 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.004596, allocations: 180.3 kB / 273.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.53e-05/0.004631, allocations: 180.2 kB / 273.8 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.004665, allocations: 176.3 kB / 273.9 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.004786, allocations: 329.4 kB / 274.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.004807, allocations: 109 kB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.004826, allocations: 101 kB / 274.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-05/0.004862, allocations: 184.4 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.004899, allocations: 184.3 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002853/0.005184, allocations: 192.1 kB / 275 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.395e-05/0.005218, allocations: 176.3 kB / 275.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.005305, allocations: 303.8 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.00533, allocations: 105 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.005376, allocations: 188.2 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.005426, allocations: 104.9 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.005469, allocations: 188.5 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.005488, allocations: 101 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.659e-05/0.005505, allocations: 20.83 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005505, allocations: 0 / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.005654, allocations: 39.88 kB / 276.2 MB, free: 13.92 MB / 266.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.0002888/0.005943, allocations: 258.7 kB / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.304e-05/0.005986, allocations: 12.84 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.005989, allocations: 0 / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.005993, allocations: 7.938 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.006167, allocations: 463.7 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001383/0.006305, allocations: 167.9 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.714e-05/0.006332, allocations: 51.36 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.00637, allocations: 15.97 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.006417, allocations: 59.42 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006417, allocations: 0 / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Templates: time 0.002288/0.008705, allocations: 1.091 MB / 278.3 MB, free: 11.78 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.3863105033524334]