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.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.001746/0.001746, allocations: 106 kB / 21.18 MB, free: 0.707 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.00215/0.00215, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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 1.453/1.453, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 51.91 kB / 347.6 MB, free: 9.574 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2813, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003703/0.285, allocations: 2.274 MB / 399.1 MB, free: 7.891 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001204/0.2862, allocations: 0.7973 MB / 399.9 MB, free: 7.348 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.2862, allocations: 0.9688 kB / 399.9 MB, free: 7.348 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.2863, allocations: 5 kB / 399.9 MB, free: 7.348 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.2864, allocations: 5.5 kB / 399.9 MB, free: 7.344 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.287, allocations: 213.9 kB / 400.1 MB, free: 7.254 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 7.009e-05/0.2871, allocations: 19.55 kB / 400.1 MB, free: 7.246 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.2871, allocations: 7.797 kB / 400.1 MB, free: 7.242 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.2872, allocations: 9.984 kB / 400.1 MB, free: 7.238 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.2872, allocations: 20.52 kB / 400.1 MB, free: 7.227 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2872, allocations: 1.281 kB / 400.1 MB, free: 7.227 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.2875, allocations: 185.3 kB / 400.3 MB, free: 7.168 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.2876, allocations: 6.328 kB / 400.3 MB, free: 7.164 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.2876, allocations: 7.391 kB / 400.3 MB, free: 7.16 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2878, allocations: 134.2 kB / 400.5 MB, free: 7.117 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2878, allocations: 1.25 kB / 400.5 MB, free: 7.117 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.212e-06/0.2878, allocations: 0 / 400.5 MB, free: 7.117 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 4.939e-06/0.2878, allocations: 0 / 400.5 MB, free: 7.117 MB / 318.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.0002967/0.2881, allocations: 277.4 kB / 400.7 MB, free: 6.84 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2882, allocations: 13.39 kB / 400.8 MB, free: 6.836 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.2882, allocations: 6.234 kB / 400.8 MB, free: 6.832 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.2883, allocations: 108.1 kB / 400.9 MB, free: 6.707 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2883, allocations: 9.656 kB / 400.9 MB, free: 6.699 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2883, allocations: 384 / 400.9 MB, free: 6.699 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.2884, allocations: 36.91 kB / 400.9 MB, free: 6.664 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2884, allocations: 8.984 kB / 400.9 MB, free: 6.656 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2884, allocations: 0 / 400.9 MB, free: 6.656 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2884, allocations: 0 / 400.9 MB, free: 6.656 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.2884, allocations: 8.562 kB / 400.9 MB, free: 6.652 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.2887, allocations: 374.3 kB / 401.3 MB, free: 6.262 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.2887, allocations: 167.3 kB / 401.5 MB, free: 6.09 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.2887, allocations: 80.14 kB / 401.5 MB, free: 6.008 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2888, allocations: 79.28 kB / 401.6 MB, free: 5.93 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2888, allocations: 107.5 kB / 401.7 MB, free: 5.816 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2888, allocations: 5 kB / 401.7 MB, free: 5.812 MB / 318.1 MB
Notification: Performance of matching and sorting (n=0): time 7.153e-05/0.2889, allocations: 40.41 kB / 401.8 MB, free: 5.77 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2889, allocations: 153 kB / 401.9 MB, free: 5.602 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.289, allocations: 119.9 kB / 402 MB, free: 5.492 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.289, allocations: 27.08 kB / 402.1 MB, free: 5.461 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.289, allocations: 86.86 kB / 402.1 MB, free: 5.375 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.289, allocations: 0 / 402.1 MB, free: 5.375 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.2891, allocations: 16.08 kB / 402.2 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 4.623e-05/0.2891, allocations: 317.4 kB / 402.5 MB, free: 5.043 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.2891, allocations: 2.938 kB / 402.5 MB, free: 5.043 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.2891, allocations: 12.02 kB / 402.5 MB, free: 5.035 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.2892, allocations: 17.39 kB / 402.5 MB, free: 5.02 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2892, allocations: 0 / 402.5 MB, free: 5.02 MB / 318.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.2893, allocations: 44.61 kB / 402.5 MB, free: 4.98 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2893, allocations: 6 kB / 402.5 MB, free: 4.98 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2893, allocations: 4.125 kB / 402.5 MB, free: 4.977 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.2893, allocations: 0 / 402.5 MB, free: 4.977 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.2894, allocations: 3.641 kB / 402.6 MB, free: 4.977 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2894, allocations: 0.5156 kB / 402.6 MB, free: 4.977 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.2894, allocations: 0 / 402.6 MB, free: 4.977 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2894, allocations: 2 kB / 402.6 MB, free: 4.977 MB / 318.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 5.128e-05/0.2895, allocations: 192.6 kB / 402.7 MB, free: 4.781 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.2895, allocations: 107.4 kB / 402.8 MB, free: 4.672 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.2895, allocations: 111.6 kB / 403 MB, free: 4.547 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.2896, allocations: 182.1 kB / 403.1 MB, free: 4.363 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.2896, allocations: 186.2 kB / 403.3 MB, free: 4.176 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.2896, allocations: 178 kB / 403.5 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2897, allocations: 389.1 kB / 403.9 MB, free: 3.574 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.2897, allocations: 106.7 kB / 404 MB, free: 3.465 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.2898, allocations: 102.8 kB / 404.1 MB, free: 3.359 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.376e-05/0.2898, allocations: 182 kB / 404.3 MB, free: 3.176 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.2898, allocations: 178.2 kB / 404.4 MB, free: 2.996 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-05/0.2898, allocations: 184.9 kB / 404.6 MB, free: 2.809 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.243e-05/0.2899, allocations: 182.1 kB / 404.8 MB, free: 2.625 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.2899, allocations: 310.5 kB / 405.1 MB, free: 2.305 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.2899, allocations: 112 kB / 405.2 MB, free: 2.191 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.29, allocations: 182.8 kB / 405.4 MB, free: 2.008 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.2901, allocations: 102.9 kB / 405.5 MB, free: 1.902 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2901, allocations: 185.9 kB / 405.7 MB, free: 1.715 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2901, allocations: 102.9 kB / 405.8 MB, free: 1.609 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 4.267e-05/0.2901, allocations: 95.09 kB / 405.9 MB, free: 1.527 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2901, allocations: 0 / 405.9 MB, free: 1.527 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.000299/0.2904, allocations: 39.11 kB / 405.9 MB, free: 1.523 MB / 318.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.000508/0.291, allocations: 271.7 kB / 406.2 MB, free: 1.312 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 8.675e-05/0.291, allocations: 4.547 kB / 406.2 MB, free: 1.312 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.291, allocations: 1.219 kB / 406.2 MB, free: 1.312 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.291, allocations: 3.938 kB / 406.2 MB, free: 1.309 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2913, allocations: 462.5 kB / 406.6 MB, free: 0.8555 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.2915, allocations: 175.9 kB / 406.8 MB, free: 0.668 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.2916, allocations: 0.6762 MB / 407.5 MB, free: 15.97 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.152e-05/0.2917, allocations: 6.234 kB / 407.5 MB, free: 15.97 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.2917, allocations: 10.98 kB / 407.5 MB, free: 15.96 MB / 334.1 MB
Notification: Performance of SimCode: time 3.61e-07/0.2917, allocations: 4 kB / 407.5 MB, free: 15.96 MB / 334.1 MB
Notification: Performance of Templates: time 0.004183/0.2959, allocations: 1.123 MB / 408.6 MB, free: 15.8 MB / 334.1 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.482636141590774]