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.001346/0.001346, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001492/0.001492, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002095/0.002095, allocations: 71.83 kB / 379 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2707, allocations: 53.4 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00173/0.2724, allocations: 0.5075 MB / 432.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.2745, allocations: 1.4 MB / 434.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.2745, allocations: 0 / 434.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.2745, allocations: 7.938 kB / 434.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.2746, allocations: 3.938 kB / 434.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.2753, allocations: 178.2 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.2753, allocations: 19.92 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.2754, allocations: 0 / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.2754, allocations: 7.984 kB / 434.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.2755, allocations: 19.92 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2755, allocations: 3.938 kB / 434.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.2758, allocations: 163.8 kB / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.2758, allocations: 0 / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.2758, allocations: 4 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2761, allocations: 126.7 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2761, allocations: 0 / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2761, allocations: 0 / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2761, allocations: 0 / 434.8 MB, free: 4.121 MB / 334.1 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.0003922/0.2765, allocations: 274.1 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2765, allocations: 11.98 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.2766, allocations: 8.938 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2768, allocations: 118.5 kB / 435.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2768, allocations: 8.297 kB / 435.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2768, allocations: 8.062 kB / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.2769, allocations: 55.41 kB / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2769, allocations: 0 / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2769, allocations: 0 / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2769, allocations: 0 / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.277, allocations: 4 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2774, allocations: 355.5 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2775, allocations: 177.1 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.2776, allocations: 80.14 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.2776, allocations: 75.28 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.2777, allocations: 109.8 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2777, allocations: 0 / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.509e-05/0.2777, allocations: 25.7 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2778, allocations: 152.4 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.278, allocations: 118 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.278, allocations: 25.7 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.278, allocations: 80.14 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.278, allocations: 4 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.2781, allocations: 25.7 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2782, allocations: 314.8 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.2782, allocations: 0 / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.2783, allocations: 33.77 kB / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.2783, allocations: 8.859 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2783, allocations: 0 / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.2784, allocations: 45.64 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2784, allocations: 4 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2785, allocations: 4.125 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2785, allocations: 3.938 kB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/0.2785, allocations: 4 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2785, allocations: 3.938 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.2786, allocations: 0 / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2786, allocations: 4 kB / 436.9 MB, free: 1.828 MB / 334.1 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.0001251/0.2787, allocations: 185.1 kB / 437.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.2788, allocations: 109 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.2788, allocations: 112.4 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-05/0.2789, allocations: 180.2 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.092e-05/0.279, allocations: 184.3 kB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.279e-05/0.2791, allocations: 184.2 kB / 437.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.2794, allocations: 356.8 kB / 438.2 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-05/0.2794, allocations: 104.9 kB / 438.3 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.2795, allocations: 109 kB / 438.4 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.652e-05/0.2795, allocations: 176.3 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.2797, allocations: 184.2 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000108/0.2798, allocations: 184.5 kB / 438.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.452e-05/0.2799, allocations: 184.2 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.2801, allocations: 307.8 kB / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.2801, allocations: 108.9 kB / 439.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2802, allocations: 180.3 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2803, allocations: 108.9 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.2804, allocations: 180.2 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.2805, allocations: 101 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.752e-05/0.2805, allocations: 91.28 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2805, allocations: 3.938 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000312/0.2808, allocations: 47.86 kB / 440.2 MB, free: 14.33 MB / 350.1 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.0004327/0.2813, allocations: 241.2 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.593e-05/0.2814, allocations: 7.938 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2814, allocations: 0 / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2814, allocations: 0 / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.2818, allocations: 466.4 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.2821, allocations: 186 kB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.772e-05/0.2821, allocations: 63.36 kB / 441.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.2822, allocations: 11.38 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2822, allocations: 0 / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Templates: time 0.002929/0.2851, allocations: 1.022 MB / 442.2 MB, free: 12.3 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.943806753959507]