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.001629/0.001629, 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 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.001946/0.001946, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.544/1.544, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001645/0.001645, allocations: 47.92 kB / 378.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2671, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001707/0.2688, allocations: 0.5005 MB / 432.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2708, allocations: 1.404 MB / 434.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.2709, allocations: 0 / 434.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.2709, allocations: 0 / 434.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.2709, allocations: 7.938 kB / 434.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.2716, allocations: 181.8 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.2716, allocations: 19.92 kB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.881e-05/0.2717, allocations: 7.938 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.2717, allocations: 4 kB / 434.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.2718, allocations: 15.97 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2718, allocations: 4 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.2721, allocations: 159.8 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2722, allocations: 3.938 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.2722, allocations: 8 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.2724, allocations: 115.4 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2724, allocations: 4 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2724, allocations: 0 / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2724, allocations: 4 kB / 434.7 MB, free: 4.27 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.0003965/0.2728, allocations: 282.1 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2729, allocations: 8.031 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.273, allocations: 4.938 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2732, allocations: 102.5 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2732, allocations: 4.375 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.2732, allocations: 8.062 kB / 435.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.2733, allocations: 59.39 kB / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2733, allocations: 4 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2733, allocations: 0 / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2733, allocations: 3.938 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.2733, allocations: 4 kB / 435.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.2738, allocations: 351.5 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2739, allocations: 173.1 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.2739, allocations: 80.14 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.274, allocations: 79.27 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/0.274, allocations: 113.8 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.274, allocations: 0 / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.921e-05/0.2741, allocations: 33.7 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.2742, allocations: 156.3 kB / 436.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.2744, allocations: 114 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2744, allocations: 25.7 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.2744, allocations: 84.14 kB / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.2744, allocations: 0 / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.2745, allocations: 13.72 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2747, allocations: 322.8 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2747, allocations: 0 / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.2747, allocations: 37.77 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/0.2747, allocations: 8.953 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2747, allocations: 4 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001152/0.2749, allocations: 37.64 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2749, allocations: 8 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2749, allocations: 3.938 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2749, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.2749, allocations: 4 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2749, allocations: 0 / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.275, allocations: 0 / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.275, allocations: 0 / 436.8 MB, free: 1.988 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.0001371/0.2751, allocations: 197.1 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.2752, allocations: 105 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.2753, allocations: 112.4 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-05/0.2754, allocations: 176.3 kB / 437.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.532e-05/0.2755, allocations: 180.3 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.413e-05/0.2755, allocations: 180.2 kB / 437.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.2758, allocations: 360.8 kB / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.037e-05/0.2759, allocations: 104.9 kB / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.2759, allocations: 101 kB / 438.3 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.276, allocations: 188.2 kB / 438.5 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-05/0.2761, allocations: 188.2 kB / 438.7 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001047/0.2762, allocations: 176.5 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-05/0.2763, allocations: 188.2 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.2765, allocations: 307.8 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.2766, allocations: 116.8 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.2767, allocations: 180.2 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2768, allocations: 108.9 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2769, allocations: 176.3 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.2769, allocations: 109 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.277, allocations: 95.22 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.277, allocations: 0 / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.2773, allocations: 47.86 kB / 440.2 MB, free: 14.47 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.000426/0.2777, allocations: 232.8 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.2778, allocations: 8 kB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2778, allocations: 0 / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.2778, allocations: 0 / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.2783, allocations: 465.3 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.2785, allocations: 186.1 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.435e-05/0.2786, allocations: 71.28 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.2786, allocations: 7.438 kB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2786, allocations: 0 / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Templates: time 0.002911/0.2815, allocations: 1.007 MB / 442.1 MB, free: 12.47 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.976781744975597]