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.0009432/0.0009432, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.00121/0.00121, allocations: 167.5 kB / 25.75 MB, free: 8.922 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.8977/0.8977, allocations: 158.6 MB / 187.5 MB, free: 2.918 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.382e-06/1.382e-06, allocations: 0 / 251.1 MB, free: 7.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.862e-05, allocations: 6.312 kB / 251.1 MB, free: 7.902 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002559/0.002587, allocations: 2.272 MB / 253.4 MB, free: 5.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000884/0.003471, allocations: 0.7495 MB / 254.1 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.003501, allocations: 4 kB / 254.1 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.851e-05/0.00358, allocations: 7.938 kB / 254.1 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.003689, allocations: 11.91 kB / 254.1 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.004152, allocations: 199.4 kB / 254.3 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.00423, allocations: 19.92 kB / 254.4 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.004263, allocations: 8 kB / 254.4 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.004315, allocations: 15.92 kB / 254.4 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.004375, allocations: 15.97 kB / 254.4 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.00439, allocations: 0 / 254.4 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.004623, allocations: 171.7 kB / 254.6 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.004634, allocations: 7.922 kB / 254.6 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.004654, allocations: 7.984 kB / 254.6 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.004859, allocations: 151.7 kB / 254.7 MB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004862, allocations: 0 / 254.7 MB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004862, allocations: 0 / 254.7 MB, free: 4.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.004867, allocations: 3.938 kB / 254.7 MB, free: 4.246 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.0002865/0.005154, allocations: 384.4 kB / 255.1 MB, free: 3.836 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.00519, allocations: 15.98 kB / 255.1 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.005226, allocations: 0.9375 kB / 255.1 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.005317, allocations: 116.5 kB / 255.2 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.005326, allocations: 384 / 255.2 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.005336, allocations: 4.375 kB / 255.2 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.386e-05/0.00542, allocations: 63.89 kB / 255.3 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-06/0.005425, allocations: 192 / 255.3 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.005435, allocations: 384 / 255.3 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.005443, allocations: 7.938 kB / 255.3 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-06/0.005452, allocations: 4 kB / 255.3 MB, free: 3.59 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.005744, allocations: 482.7 kB / 255.8 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.005824, allocations: 269.4 kB / 256 MB, free: 2.805 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.005986, allocations: 134.8 kB / 256.2 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.00601, allocations: 119.2 kB / 256.3 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.00605, allocations: 156.5 kB / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.006051, allocations: 0 / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 5.68e-05/0.006108, allocations: 33.66 kB / 256.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.006163, allocations: 196.3 kB / 256.7 MB, free: 2.137 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.006255, allocations: 169.9 kB / 256.8 MB, free: 1.953 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006266, allocations: 37.7 kB / 256.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.006314, allocations: 126.9 kB / 257 MB, free: 1.781 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.006316, allocations: 0 / 257 MB, free: 1.781 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.006343, allocations: 23.36 kB / 257 MB, free: 1.75 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006444, allocations: 0.4884 MB / 257.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.006453, allocations: 3.938 kB / 257.5 MB, free: 1.246 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.006471, allocations: 29.69 kB / 257.5 MB, free: 1.211 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.006495, allocations: 11.69 kB / 257.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006497, allocations: 0 / 257.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.25e-05/0.006579, allocations: 37.8 kB / 257.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006592, allocations: 7.938 kB / 257.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.006597, allocations: 3.938 kB / 257.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.006608, allocations: 0 / 257.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.006655, allocations: 4 kB / 257.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00666, allocations: 3.984 kB / 257.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.006694, allocations: 7.953 kB / 257.6 MB, free: 1.121 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.006706, allocations: 7.938 kB / 257.6 MB, free: 1.113 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 8.353e-05/0.00679, allocations: 271.8 kB / 257.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.006835, allocations: 156.8 kB / 258 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.006879, allocations: 156.4 kB / 258.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.00693, allocations: 272 kB / 258.5 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-05/0.006989, allocations: 268.1 kB / 258.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/0.007037, allocations: 268 kB / 259 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.007181, allocations: 500 kB / 259.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/0.007211, allocations: 152.9 kB / 259.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.00724, allocations: 152.9 kB / 259.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.093e-05/0.007291, allocations: 264.1 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.007352, allocations: 279.9 kB / 260.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-05/0.007407, allocations: 264.1 kB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-05/0.007471, allocations: 268.1 kB / 260.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.007592, allocations: 448 kB / 261.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.007635, allocations: 156.8 kB / 261.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.007698, allocations: 272 kB / 261.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.007761, allocations: 148.9 kB / 261.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.007819, allocations: 272 kB / 262.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.007849, allocations: 148.9 kB / 262.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.007894, allocations: 135.2 kB / 262.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007894, allocations: 0 / 262.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.008094, allocations: 47.86 kB / 262.4 MB, free: 12.12 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.0003927/0.008487, allocations: 321.2 kB / 262.7 MB, free: 11.81 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.00855, allocations: 7.688 kB / 262.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008552, allocations: 4 kB / 262.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.008553, allocations: 64 / 262.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.008837, allocations: 0.7178 MB / 263.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.00916, allocations: 224.6 kB / 263.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.00919, allocations: 59.34 kB / 263.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.009218, allocations: 11.88 kB / 263.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.009235, allocations: 8.5 kB / 263.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009235, allocations: 0 / 263.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of Templates: time 0.002774/0.01201, allocations: 1.163 MB / 264.9 MB, free: 9.566 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.503226754022762]