Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001348/0.001348, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001441/0.001441, allocations: 169.5 kB / 24.82 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9302/0.9302, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.487e-05, allocations: 2.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001095/0.00112, allocations: 0.5139 MB / 273.9 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.002552, allocations: 1.439 MB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.002577, allocations: 0 / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.002591, allocations: 0 / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/0.00262, allocations: 0 / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.003136, allocations: 187.3 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.003181, allocations: 11.98 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.003215, allocations: 7.984 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.003264, allocations: 8 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.003316, allocations: 15.92 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.003331, allocations: 0 / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.003539, allocations: 159.7 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.003552, allocations: 7.984 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.003567, allocations: 8 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.003749, allocations: 147.7 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003751, allocations: 0 / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003752, allocations: 0 / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.003755, allocations: 0 / 275.9 MB, free: 14.78 MB / 266.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.0004203/0.004175, allocations: 380.4 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.004218, allocations: 12.03 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.004339, allocations: 4.938 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.004403, allocations: 112.5 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.004412, allocations: 384 / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.00442, allocations: 8.375 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.324e-05/0.004493, allocations: 55.95 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.0045, allocations: 3.938 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004506, allocations: 4 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.00451, allocations: 0 / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-06/0.004518, allocations: 0 / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.004809, allocations: 475.3 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.004882, allocations: 269.4 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.00491, allocations: 126.9 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.004935, allocations: 127.2 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.004975, allocations: 156.5 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.004976, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.467e-05/0.005031, allocations: 37.58 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.005082, allocations: 196.3 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.005162, allocations: 169.9 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.005174, allocations: 29.7 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.005224, allocations: 130.9 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.005226, allocations: 0 / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.005255, allocations: 27.36 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.00536, allocations: 496.1 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.005368, allocations: 4 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.005389, allocations: 29.69 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.005411, allocations: 11.69 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005413, allocations: 0 / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.542e-05/0.005488, allocations: 45.53 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.005506, allocations: 4 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005512, allocations: 3.984 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.005519, allocations: 0 / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.005558, allocations: 8.109 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.005561, allocations: 4 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.005588, allocations: 3.984 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.005595, allocations: 4 kB / 278.8 MB, free: 11.68 MB / 266.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 7.992e-05/0.005675, allocations: 271.8 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.005722, allocations: 156.8 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.005769, allocations: 156.3 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003095/0.006079, allocations: 268.1 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.045e-05/0.006129, allocations: 272 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/0.00618, allocations: 264.1 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.006326, allocations: 480.5 kB / 280.6 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/0.006357, allocations: 160.8 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.006387, allocations: 148.9 kB / 280.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.238e-05/0.006439, allocations: 268 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/0.006501, allocations: 264.1 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.262e-05/0.006554, allocations: 272 kB / 281.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.213e-05/0.006606, allocations: 268 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.00672, allocations: 444 kB / 282.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.00676, allocations: 156.8 kB / 282.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.006823, allocations: 272 kB / 282.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.006894, allocations: 161 kB / 282.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.006949, allocations: 268.1 kB / 283.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.006981, allocations: 152.8 kB / 283.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.103e-05/0.007022, allocations: 127.2 kB / 283.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007022, allocations: 0 / 283.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.007212, allocations: 47.86 kB / 283.5 MB, free: 6.727 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.0003085/0.007521, allocations: 283.4 kB / 283.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.00758, allocations: 15.69 kB / 283.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.007583, allocations: 4.062 kB / 283.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.007584, allocations: 0 / 283.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.007865, allocations: 0.71 MB / 284.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001678/0.008033, allocations: 221.5 kB / 284.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.00806, allocations: 51.36 kB / 284.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.00811, allocations: 15.97 kB / 284.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.008161, allocations: 74.19 kB / 284.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008162, allocations: 0 / 284.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of Templates: time 0.002668/0.01083, allocations: 1.168 MB / 286 MB, free: 4.145 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.513841873034835]