Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9731/0.9731, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.646e-06/3.646e-06, allocations: 7.984 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.277e-05, allocations: 6.312 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00105/0.001073, allocations: 0.5094 MB / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.002575, allocations: 1.447 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.0026, allocations: 4 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.00262, allocations: 0 / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.002651, allocations: 3.938 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.003163, allocations: 179.4 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.003215, allocations: 15.98 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.003255, allocations: 7.984 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.003302, allocations: 4 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.003361, allocations: 11.92 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.003384, allocations: 4 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.003597, allocations: 159.7 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.003611, allocations: 7.969 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.003627, allocations: 0 / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.003823, allocations: 155.7 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003826, allocations: 0 / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003826, allocations: 4 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.00383, allocations: 0 / 275.4 MB, free: 14.94 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.0003132/0.004144, allocations: 384.3 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.004189, allocations: 11.98 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.004322, allocations: 8.938 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.004401, allocations: 108.6 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.004411, allocations: 384 / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004423, allocations: 384 / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.004518, allocations: 59.95 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.00453, allocations: 3.938 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004541, allocations: 4 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.004548, allocations: 0 / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.004562, allocations: 4 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.004922, allocations: 498.6 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.005002, allocations: 261.4 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.005036, allocations: 134.8 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.005063, allocations: 119.2 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.005113, allocations: 152.6 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.005113, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.735e-05/0.00517, allocations: 37.62 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.00523, allocations: 208.2 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.005325, allocations: 165.9 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.005336, allocations: 29.7 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.005386, allocations: 126.9 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.005388, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.005414, allocations: 19.38 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005518, allocations: 0.4923 MB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.005527, allocations: 0 / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.005545, allocations: 25.7 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.005565, allocations: 11.69 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.005567, allocations: 4.094 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.386e-05/0.005651, allocations: 45.53 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.005661, allocations: 4 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005664, allocations: 0 / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.005678, allocations: 3.984 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.005722, allocations: 4 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.005727, allocations: 0 / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.005748, allocations: 4 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.005756, allocations: 4 kB / 278.3 MB, free: 11.82 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 8.145e-05/0.005837, allocations: 271.8 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.005885, allocations: 164.8 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.005932, allocations: 156.4 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/0.005983, allocations: 264.1 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-05/0.006055, allocations: 276 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.908e-05/0.006124, allocations: 264.1 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.006289, allocations: 0.492 MB / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.006321, allocations: 149.1 kB / 280.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.006351, allocations: 148.9 kB / 280.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-05/0.006407, allocations: 272 kB / 280.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.006464, allocations: 268.1 kB / 281 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.473e-05/0.006519, allocations: 276 kB / 281.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-05/0.006578, allocations: 264.1 kB / 281.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.006704, allocations: 448 kB / 281.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.006751, allocations: 156.8 kB / 282.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.006825, allocations: 276 kB / 282.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.006894, allocations: 144.9 kB / 282.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.006952, allocations: 272 kB / 282.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.007004, allocations: 152.8 kB / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.007045, allocations: 127.2 kB / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007045, allocations: 0 / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.007249, allocations: 43.88 kB / 283.1 MB, free: 6.84 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.0003157/0.007564, allocations: 292.5 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.007637, allocations: 15.67 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007638, allocations: 0 / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.007639, allocations: 4 kB / 283.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.007976, allocations: 0.707 MB / 284.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.008171, allocations: 217.5 kB / 284.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.278e-05/0.008204, allocations: 59.41 kB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.008247, allocations: 11.98 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.008263, allocations: 8.5 kB / 284.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of SimCode: time 3.3e-07/0.008263, allocations: 0 / 284.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of Templates: time 0.002465/0.01073, allocations: 1.023 MB / 285.4 MB, free: 4.453 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6797426780685782]