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.002231/0.002231, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001939/0.001939, allocations: 158.1 kB / 25.03 MB, free: 8.93 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 1.389/1.389, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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.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.483e-06/1.483e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.673e-05, allocations: 6.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.004015/0.004041, allocations: 2.242 MB / 252.6 MB, free: 5.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.005435, allocations: 0.7533 MB / 253.4 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.005467, allocations: 0 / 253.4 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.506e-05/0.005542, allocations: 8 kB / 253.4 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.005645, allocations: 3.938 kB / 253.4 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.006272, allocations: 207.3 kB / 253.6 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.591e-05/0.006347, allocations: 15.98 kB / 253.6 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.006377, allocations: 4 kB / 253.6 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.006437, allocations: 23.86 kB / 253.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.006499, allocations: 11.98 kB / 253.6 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.006513, allocations: 0 / 253.6 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.00684, allocations: 175.7 kB / 253.8 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.006851, allocations: 0 / 253.8 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.006871, allocations: 4 kB / 253.8 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.007189, allocations: 163.6 kB / 254 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.007192, allocations: 0 / 254 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007193, allocations: 0 / 254 MB, free: 4.211 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.007197, allocations: 0 / 254 MB, free: 4.211 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.0004698/0.007666, allocations: 380 kB / 254.3 MB, free: 3.805 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.007707, allocations: 19.98 kB / 254.3 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.007749, allocations: 0.9375 kB / 254.3 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.007894, allocations: 116.5 kB / 254.5 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.007906, allocations: 4.312 kB / 254.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.007931, allocations: 4.375 kB / 254.5 MB, free: 3.637 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.008041, allocations: 59.95 kB / 254.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.008049, allocations: 192 / 254.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.008058, allocations: 4.375 kB / 254.5 MB, free: 3.562 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.008064, allocations: 3.938 kB / 254.5 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.008081, allocations: 0 / 254.5 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.008555, allocations: 486.7 kB / 255 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.00873, allocations: 273.4 kB / 255.3 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.008803, allocations: 126.9 kB / 255.4 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-05/0.008872, allocations: 119.2 kB / 255.5 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.744e-05/0.00897, allocations: 160.5 kB / 255.7 MB, free: 2.352 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.008971, allocations: 4 kB / 255.7 MB, free: 2.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.009053, allocations: 29.66 kB / 255.7 MB, free: 2.312 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.009179, allocations: 200.2 kB / 255.9 MB, free: 2.098 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.009349, allocations: 177.9 kB / 256.1 MB, free: 1.906 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.009368, allocations: 25.7 kB / 256.1 MB, free: 1.875 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.009461, allocations: 134.9 kB / 256.2 MB, free: 1.738 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.009463, allocations: 4 kB / 256.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.009511, allocations: 23.36 kB / 256.3 MB, free: 1.703 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.009773, allocations: 492.1 kB / 256.7 MB, free: 1.211 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.009783, allocations: 0 / 256.7 MB, free: 1.211 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.009835, allocations: 29.7 kB / 256.8 MB, free: 1.176 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.009874, allocations: 19.67 kB / 256.8 MB, free: 1.148 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009876, allocations: 3.938 kB / 256.8 MB, free: 1.145 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.01001, allocations: 41.59 kB / 256.8 MB, free: 1.098 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.01003, allocations: 8.062 kB / 256.8 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01003, allocations: 4 kB / 256.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01004, allocations: 0 / 256.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.0101, allocations: 4 kB / 256.9 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.0101, allocations: 0 / 256.9 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.01014, allocations: 0 / 256.9 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01016, allocations: 3.984 kB / 256.9 MB, free: 1.078 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 0.0001789/0.01033, allocations: 275.8 kB / 257.1 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.01045, allocations: 156.8 kB / 257.3 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.599e-05/0.01055, allocations: 152.3 kB / 257.4 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000138/0.01069, allocations: 264.1 kB / 257.7 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003975/0.01108, allocations: 280.1 kB / 258 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000143/0.01123, allocations: 272 kB / 258.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.01158, allocations: 499.9 kB / 258.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.672e-05/0.01167, allocations: 157 kB / 258.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.01176, allocations: 148.9 kB / 259 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.0119, allocations: 272 kB / 259.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.01205, allocations: 272 kB / 259.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000142/0.01219, allocations: 268.1 kB / 259.8 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001416/0.01233, allocations: 268 kB / 260.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.01261, allocations: 448 kB / 260.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.01271, allocations: 152.8 kB / 260.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.01287, allocations: 276 kB / 260.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.01301, allocations: 148.8 kB / 261.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.01316, allocations: 268.1 kB / 261.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/0.01324, allocations: 148.8 kB / 261.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.01333, allocations: 135.2 kB / 261.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01333, allocations: 0 / 261.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.01367, allocations: 47.88 kB / 261.7 MB, free: 12.08 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.0006593/0.01433, allocations: 314.5 kB / 262 MB, free: 11.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.74e-05/0.01442, allocations: 19.62 kB / 262 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01442, allocations: 0 / 262 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.01442, allocations: 0 / 262 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.015, allocations: 0.71 MB / 262.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.01529, allocations: 236.6 kB / 262.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.795e-05/0.01536, allocations: 59.34 kB / 263 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.01539, allocations: 4 kB / 263 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.01542, allocations: 8.5 kB / 263 MB, free: 10.68 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01542, allocations: 4 kB / 263 MB, free: 10.68 MB / 250.7 MB Notification: Performance of Templates: time 0.004442/0.01987, allocations: 1.168 MB / 264.2 MB, free: 9.516 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","/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.179234441020526]