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.001383/0.001383, allocations: 79.91 kB / 21.19 MB, free: 3.387 MB / 18.57 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.000893/0.000893, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.8731/0.8731, allocations: 173.4 MB / 201.2 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.764e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0009429/0.0009606, allocations: 0.5142 MB / 268.5 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.002224, allocations: 1.382 MB / 269.9 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.002245, allocations: 0 / 269.9 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.002261, allocations: 3.938 kB / 269.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.002283, allocations: 4 kB / 269.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.002724, allocations: 183.4 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.002769, allocations: 15.98 kB / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.833e-05/0.002798, allocations: 0 / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.002846, allocations: 7.984 kB / 270.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.002887, allocations: 19.92 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.002899, allocations: 0 / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.003318, allocations: 155.7 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.003328, allocations: 4 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.003342, allocations: 4 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.003501, allocations: 151.6 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003503, allocations: 0 / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003503, allocations: 0 / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.003507, allocations: 0 / 270.4 MB, free: 3.996 MB / 250.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.0002077/0.003715, allocations: 376.4 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.467e-05/0.003739, allocations: 8.922 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.003765, allocations: 12.89 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.932e-05/0.003825, allocations: 104.6 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.003831, allocations: 384 / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.003838, allocations: 4.375 kB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.723e-05/0.003905, allocations: 63.95 kB / 271 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.00391, allocations: 3.938 kB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.003917, allocations: 0 / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003921, allocations: 0 / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.097e-05/0.003932, allocations: 3.938 kB / 271 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.00417, allocations: 482.7 kB / 271.4 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.004232, allocations: 269.5 kB / 271.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.004259, allocations: 130.8 kB / 271.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.004282, allocations: 123.2 kB / 272 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.004322, allocations: 164.5 kB / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.004322, allocations: 0 / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 3.768e-05/0.00436, allocations: 33.64 kB / 272.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.004409, allocations: 196.3 kB / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.004474, allocations: 173.9 kB / 272.5 MB, free: 1.711 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004483, allocations: 25.7 kB / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.004521, allocations: 126.9 kB / 272.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.004523, allocations: 4 kB / 272.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.004547, allocations: 27.38 kB / 272.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.004634, allocations: 496.1 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-06/0.00464, allocations: 0 / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.004656, allocations: 29.7 kB / 273.2 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.566e-05/0.004672, allocations: 15.62 kB / 273.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.004673, allocations: 0 / 273.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.275e-05/0.004736, allocations: 37.64 kB / 273.3 MB, free: 0.918 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.004744, allocations: 8 kB / 273.3 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004747, allocations: 3.984 kB / 273.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.004752, allocations: 4.125 kB / 273.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.82e-05/0.004781, allocations: 0 / 273.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.004785, allocations: 4.25 kB / 273.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.004809, allocations: 3.953 kB / 273.3 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.004817, allocations: 4 kB / 273.3 MB, free: 0.8906 MB / 250.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 6.917e-05/0.004886, allocations: 275.8 kB / 273.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.004927, allocations: 152.8 kB / 273.7 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.004966, allocations: 160.3 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.702e-05/0.005013, allocations: 268 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-05/0.005075, allocations: 264.1 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.005132, allocations: 272.1 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.005277, allocations: 0.492 MB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.005307, allocations: 144.9 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.005335, allocations: 148.8 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.005387, allocations: 272 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.00544, allocations: 268.2 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-05/0.005494, allocations: 272 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.091e-05/0.005545, allocations: 272.1 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.005652, allocations: 440 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.005691, allocations: 156.8 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.005751, allocations: 272 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.005806, allocations: 148.9 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.006098, allocations: 272 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.006126, allocations: 152.8 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.619e-05/0.006162, allocations: 135.2 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006162, allocations: 0 / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.006335, allocations: 35.88 kB / 278.1 MB, free: 11.91 MB / 266.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.0002933/0.006629, allocations: 313.2 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.541e-05/0.006694, allocations: 19.62 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006696, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.006697, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.006951, allocations: 0.7062 MB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.007111, allocations: 221.5 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.007139, allocations: 55.34 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.00718, allocations: 16.05 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.007193, allocations: 8.5 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007193, allocations: 0 / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of Templates: time 0.002638/0.009832, allocations: 1.098 MB / 280.5 MB, free: 9.445 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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","",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.4538598037324846]