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.001081/0.001081, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001436/0.001436, allocations: 162.2 kB / 25.6 MB, free: 8.895 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.8478/0.8478, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.563e-06/1.563e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.142e-05, allocations: 6.25 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.005928/0.005949, allocations: 2.262 MB / 253.7 MB, free: 4.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.006917, allocations: 0.7339 MB / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.00695, allocations: 4 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.285e-05/0.007022, allocations: 11.92 kB / 254.5 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.007125, allocations: 7.938 kB / 254.5 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.01064, allocations: 207.3 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.01071, allocations: 15.94 kB / 254.7 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.01074, allocations: 7.984 kB / 254.7 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.01079, allocations: 12 kB / 254.7 MB, free: 3.973 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.01085, allocations: 11.97 kB / 254.7 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.01086, allocations: 4 kB / 254.7 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.01111, allocations: 175.6 kB / 254.9 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.01112, allocations: 4 kB / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.2e-05/0.01113, allocations: 0 / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.01135, allocations: 159.6 kB / 255.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01136, allocations: 0 / 255.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01136, allocations: 4 kB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.01136, allocations: 3.984 kB / 255.1 MB, free: 3.617 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.0002802/0.01164, allocations: 384.3 kB / 255.4 MB, free: 3.207 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.01168, allocations: 11.98 kB / 255.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.01171, allocations: 8.891 kB / 255.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.01179, allocations: 112.6 kB / 255.6 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.0118, allocations: 384 / 255.6 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.0118, allocations: 4.375 kB / 255.6 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.305e-05/0.01188, allocations: 59.91 kB / 255.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.01188, allocations: 192 / 255.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.01189, allocations: 384 / 255.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.0119, allocations: 3.938 kB / 255.6 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-06/0.0119, allocations: 8 kB / 255.7 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.01217, allocations: 467.3 kB / 256.1 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.209e-05/0.01226, allocations: 265.4 kB / 256.4 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.0123, allocations: 130.8 kB / 256.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.01233, allocations: 127.1 kB / 256.6 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.01237, allocations: 156.6 kB / 256.8 MB, free: 1.785 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.01238, allocations: 0 / 256.8 MB, free: 1.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 5.63e-05/0.01243, allocations: 33.59 kB / 256.8 MB, free: 1.746 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.01249, allocations: 196.3 kB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.01258, allocations: 173.9 kB / 257.2 MB, free: 1.344 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.0126, allocations: 33.7 kB / 257.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.01265, allocations: 130.9 kB / 257.3 MB, free: 1.172 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.01265, allocations: 0 / 257.3 MB, free: 1.172 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.01268, allocations: 23.36 kB / 257.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.0128, allocations: 496.1 kB / 257.8 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.01281, allocations: 3.938 kB / 257.8 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.01283, allocations: 29.69 kB / 257.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.01285, allocations: 15.69 kB / 257.9 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01285, allocations: 0 / 257.9 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.671e-05/0.01293, allocations: 41.75 kB / 257.9 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.01294, allocations: 4 kB / 257.9 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01295, allocations: 3.938 kB / 257.9 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.01296, allocations: 0 / 257.9 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-05/0.01299, allocations: 4 kB / 257.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.01299, allocations: 0 / 257.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.01303, allocations: 0 / 257.9 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01304, allocations: 7.922 kB / 257.9 MB, free: 0.5195 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 9.376e-05/0.01313, allocations: 279.8 kB / 258.2 MB, free: 240 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003074/0.0162, allocations: 152.9 kB / 258.4 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.01628, allocations: 156.3 kB / 258.5 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-05/0.01635, allocations: 276 kB / 258.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.854e-05/0.01641, allocations: 268.1 kB / 259.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/0.01648, allocations: 268 kB / 259.3 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.01667, allocations: 476.5 kB / 259.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/0.01671, allocations: 161 kB / 259.9 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.01675, allocations: 148.8 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-05/0.01682, allocations: 264.1 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.01688, allocations: 272 kB / 260.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-05/0.01695, allocations: 268.1 kB / 260.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-05/0.01701, allocations: 272 kB / 261.1 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.01715, allocations: 451.9 kB / 261.6 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.0172, allocations: 156.8 kB / 261.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.01727, allocations: 276.1 kB / 262 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.01736, allocations: 148.9 kB / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.01742, allocations: 272 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.01746, allocations: 148.9 kB / 262.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.01751, allocations: 131.2 kB / 262.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01751, allocations: 0 / 262.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00026/0.01777, allocations: 39.88 kB / 262.7 MB, free: 11.55 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.000378/0.01815, allocations: 331.2 kB / 263 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.353e-05/0.0182, allocations: 11.69 kB / 263.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.0182, allocations: 0 / 263.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.0182, allocations: 4.062 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01856, allocations: 0.7062 MB / 263.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.01873, allocations: 228.6 kB / 264 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.01876, allocations: 51.36 kB / 264 MB, free: 10.18 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.718e-05/0.01878, allocations: 15.91 kB / 264.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01884, allocations: 78.19 kB / 264.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01884, allocations: 0 / 264.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Templates: time 0.006271/0.02511, allocations: 1.325 MB / 265.5 MB, free: 8.773 MB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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","",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.4482757840305567]