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.001272/0.001272, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001358/0.001358, allocations: 187 kB / 23.72 MB, free: 4.68 MB / 14.72 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 1.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001535/0.001535, allocations: 47.92 kB / 370.9 MB, free: 9.379 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2574, allocations: 52.17 MB / 423.1 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00163/0.259, allocations: 0.5119 MB / 423.6 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001819/0.2608, allocations: 1.403 MB / 425 MB, free: 12.78 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.2609, allocations: 0 / 425 MB, free: 12.78 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.2609, allocations: 3.938 kB / 425 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.168e-05/0.2609, allocations: 0 / 425 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.2616, allocations: 182.3 kB / 425.2 MB, free: 12.6 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.2617, allocations: 15.98 kB / 425.2 MB, free: 12.58 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.2618, allocations: 4 kB / 425.2 MB, free: 12.58 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.2618, allocations: 8 kB / 425.2 MB, free: 12.57 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.2619, allocations: 19.91 kB / 425.2 MB, free: 12.55 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2619, allocations: 0 / 425.2 MB, free: 12.55 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.2623, allocations: 163.8 kB / 425.4 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.2623, allocations: 8 kB / 425.4 MB, free: 12.38 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2623, allocations: 7.938 kB / 425.4 MB, free: 12.38 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.2626, allocations: 113 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2626, allocations: 3.938 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.215e-06/0.2626, allocations: 0 / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.177e-05/0.2626, allocations: 0 / 425.5 MB, free: 12.27 MB / 334.1 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.0004747/0.2631, allocations: 274.2 kB / 425.8 MB, free: 11.97 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2631, allocations: 11.97 kB / 425.8 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.2631, allocations: 4.891 kB / 425.8 MB, free: 11.95 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2633, allocations: 110.5 kB / 425.9 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2633, allocations: 4.375 kB / 425.9 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2633, allocations: 4.125 kB / 425.9 MB, free: 11.81 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2634, allocations: 37.69 kB / 426 MB, free: 11.77 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2634, allocations: 3.984 kB / 426 MB, free: 11.77 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2635, allocations: 0 / 426 MB, free: 11.77 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2635, allocations: 4 kB / 426 MB, free: 11.76 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.2635, allocations: 0 / 426 MB, free: 11.76 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.264, allocations: 370.9 kB / 426.3 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.2641, allocations: 173.2 kB / 426.5 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.2641, allocations: 88.14 kB / 426.6 MB, free: 11.09 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.2642, allocations: 75.28 kB / 426.7 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.128e-05/0.2642, allocations: 105.8 kB / 426.8 MB, free: 10.9 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2642, allocations: 4 kB / 426.8 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of matching and sorting (n=0): time 8.187e-05/0.2643, allocations: 33.64 kB / 426.8 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.2644, allocations: 156.3 kB / 427 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2645, allocations: 105.8 kB / 427.1 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2645, allocations: 29.7 kB / 427.1 MB, free: 10.54 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.2646, allocations: 88.09 kB / 427.2 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2646, allocations: 0 / 427.2 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.2647, allocations: 17.7 kB / 427.2 MB, free: 10.42 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001364/0.2648, allocations: 322.8 kB / 427.5 MB, free: 10.1 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.2648, allocations: 0 / 427.5 MB, free: 10.1 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.2648, allocations: 4 kB / 427.5 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.2649, allocations: 8.859 kB / 427.5 MB, free: 10.08 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2649, allocations: 0 / 427.5 MB, free: 10.08 MB / 334.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.265, allocations: 45.56 kB / 427.6 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.265, allocations: 4 kB / 427.6 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.265, allocations: 128 / 427.6 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.265, allocations: 4 kB / 427.6 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.265, allocations: 4 kB / 427.6 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.265, allocations: 0 / 427.6 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.2651, allocations: 0 / 427.6 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2651, allocations: 8 kB / 427.6 MB, free: 10.01 MB / 334.1 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.000111/0.2652, allocations: 189 kB / 427.8 MB, free: 9.816 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.2653, allocations: 112.9 kB / 427.9 MB, free: 9.699 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.2654, allocations: 112.4 kB / 428 MB, free: 9.578 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/0.2654, allocations: 176.3 kB / 428.2 MB, free: 9.398 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-05/0.2655, allocations: 184.2 kB / 428.3 MB, free: 9.211 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.927e-05/0.2656, allocations: 180.3 kB / 428.5 MB, free: 9.027 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.2658, allocations: 380.5 kB / 428.9 MB, free: 8.605 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.2659, allocations: 112.9 kB / 429 MB, free: 8.488 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.2659, allocations: 105 kB / 429.1 MB, free: 8.379 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.266, allocations: 180.2 kB / 429.3 MB, free: 8.195 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.2661, allocations: 180.3 kB / 429.5 MB, free: 8.012 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-05/0.2661, allocations: 176.3 kB / 429.6 MB, free: 7.832 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-05/0.2662, allocations: 180.4 kB / 429.8 MB, free: 7.648 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.2664, allocations: 323.7 kB / 430.1 MB, free: 7.309 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.2664, allocations: 105 kB / 430.2 MB, free: 7.199 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.2665, allocations: 176.3 kB / 430.4 MB, free: 7.02 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2666, allocations: 112.9 kB / 430.5 MB, free: 6.902 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.2667, allocations: 180.3 kB / 430.7 MB, free: 6.719 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.2667, allocations: 108.9 kB / 430.8 MB, free: 6.605 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.503e-05/0.2668, allocations: 83.28 kB / 430.9 MB, free: 6.523 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2668, allocations: 0 / 430.9 MB, free: 6.523 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002787/0.2671, allocations: 39.92 kB / 430.9 MB, free: 6.484 MB / 334.1 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.000408/0.2675, allocations: 261.1 kB / 431.2 MB, free: 6.238 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 7.759e-05/0.2676, allocations: 4 kB / 431.2 MB, free: 6.234 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2676, allocations: 3.938 kB / 431.2 MB, free: 6.23 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2676, allocations: 0 / 431.2 MB, free: 6.23 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.268, allocations: 459.6 kB / 431.6 MB, free: 5.777 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.2682, allocations: 172.3 kB / 431.8 MB, free: 5.582 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2685, allocations: 0.6727 MB / 432.5 MB, free: 4.883 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 8.716e-05/0.2685, allocations: 11.98 kB / 432.5 MB, free: 4.871 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.2686, allocations: 7.438 kB / 432.5 MB, free: 4.863 MB / 334.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.2686, allocations: 0 / 432.5 MB, free: 4.863 MB / 334.1 MB
Notification: Performance of Templates: time 0.003362/0.2719, allocations: 0.9243 MB / 433.4 MB, free: 3.945 MB / 334.1 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=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.226029717363417]