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.001031/0.001031, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.00252, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001037/0.001037, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001849/0.002887, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8015/0.8015, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1429/0.9444, allocations: 52.48 MB / 238.5 MB, free: 7.609 MB / 234.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.743e-06/1.743e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.306e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002173/0.002196, allocations: 0.5714 MB / 240.3 MB, free: 5.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.004164, allocations: 1.393 MB / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.004185, allocations: 0 / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.214e-06/0.004192, allocations: 0 / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 1.601e-05/0.004208, allocations: 1 kB / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.004798, allocations: 156.8 kB / 241.8 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.004864, allocations: 12.72 kB / 241.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.004907, allocations: 7.938 kB / 241.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.004987, allocations: 20.62 kB / 241.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.005058, allocations: 7.984 kB / 241.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.005076, allocations: 2.531 kB / 241.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.005405, allocations: 179.6 kB / 242.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.005421, allocations: 0 / 242.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.005436, allocations: 4 kB / 242.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.005665, allocations: 119.7 kB / 242.2 MB, free: 3.906 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.005679, allocations: 0 / 242.2 MB, free: 3.906 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005681, allocations: 1.469 kB / 242.2 MB, free: 3.906 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.005691, allocations: 0 / 242.2 MB, free: 3.906 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.0003125/0.006004, allocations: 260.4 kB / 242.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.006037, allocations: 8.031 kB / 242.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.006074, allocations: 13.73 kB / 242.5 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.006167, allocations: 109.7 kB / 242.6 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.006179, allocations: 5.469 kB / 242.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.006192, allocations: 384 / 242.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.006287, allocations: 55.97 kB / 242.6 MB, free: 3.406 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.006297, allocations: 11.05 kB / 242.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.006305, allocations: 0 / 242.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00631, allocations: 0 / 242.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-06/0.006319, allocations: 0 / 242.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.006746, allocations: 324 kB / 243 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.006827, allocations: 173.2 kB / 243.1 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.006854, allocations: 80.14 kB / 243.2 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.006881, allocations: 75.28 kB / 243.3 MB, free: 2.727 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.006927, allocations: 119.1 kB / 243.4 MB, free: 2.602 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.006927, allocations: 0 / 243.4 MB, free: 2.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 6.846e-05/0.006996, allocations: 29.64 kB / 243.4 MB, free: 2.566 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.007041, allocations: 127.8 kB / 243.6 MB, free: 2.43 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.007136, allocations: 114.7 kB / 243.7 MB, free: 2.305 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.007149, allocations: 25.7 kB / 243.7 MB, free: 2.273 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.007196, allocations: 87.08 kB / 243.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.007198, allocations: 0 / 243.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.007236, allocations: 29.64 kB / 243.8 MB, free: 2.152 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.007328, allocations: 314.8 kB / 244.1 MB, free: 1.836 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.007339, allocations: 0 / 244.1 MB, free: 1.836 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.007363, allocations: 29.7 kB / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.007389, allocations: 12.78 kB / 244.2 MB, free: 1.785 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/0.007391, allocations: 0.9688 kB / 244.2 MB, free: 1.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.071e-05/0.007472, allocations: 41.58 kB / 244.2 MB, free: 1.738 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.007487, allocations: 4.906 kB / 244.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.007497, allocations: 0 / 244.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007509, allocations: 1.781 kB / 244.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.00756, allocations: 4 kB / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007562, allocations: 0 / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.0076, allocations: 0 / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.00761, allocations: 7.984 kB / 244.2 MB, free: 1.723 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 7.303e-05/0.007683, allocations: 181.8 kB / 244.4 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.007738, allocations: 113.5 kB / 244.5 MB, free: 1.418 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.007782, allocations: 108.5 kB / 244.6 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/0.007826, allocations: 186.2 kB / 244.8 MB, free: 1.113 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.75e-05/0.007873, allocations: 184.3 kB / 245 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/0.007916, allocations: 176.3 kB / 245.1 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.008071, allocations: 321.4 kB / 245.5 MB, free: 412 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.008102, allocations: 113 kB / 245.6 MB, free: 292 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.008129, allocations: 102.5 kB / 245.7 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.008162, allocations: 108.9 kB / 245.8 MB, free: 68 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.008223, allocations: 184.2 kB / 245.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.008273, allocations: 184.2 kB / 246.1 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.57e-05/0.008318, allocations: 184.9 kB / 246.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.126e-05/0.00836, allocations: 176.3 kB / 246.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/0.01452, allocations: 300.4 kB / 246.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.01458, allocations: 192.7 kB / 247 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.01467, allocations: 105.2 kB / 247.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.01472, allocations: 181.1 kB / 247.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.01474, allocations: 108.9 kB / 247.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.01478, allocations: 14.47 kB / 247.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01478, allocations: 0 / 247.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000236/0.01501, allocations: 39.92 kB / 247.4 MB, free: 14.35 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.0004589/0.01547, allocations: 267.6 kB / 247.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.407e-05/0.01555, allocations: 8.859 kB / 247.7 MB, free: 14.1 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.01555, allocations: 0 / 247.7 MB, free: 14.1 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.01556, allocations: 0 / 247.7 MB, free: 14.1 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01582, allocations: 471.7 kB / 248.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.01602, allocations: 179.9 kB / 248.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.01605, allocations: 59.34 kB / 248.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.797e-05/0.01612, allocations: 7.984 kB / 248.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.01619, allocations: 59.36 kB / 248.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01619, allocations: 0 / 248.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of Templates: time 0.0096/0.02579, allocations: 1.102 MB / 249.5 MB, free: 12.2 MB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.333515233360231]