Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.001735/0.001735, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001342/0.001342, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.433/1.433, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 371.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2833, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001649/0.2849, allocations: 0.5384 MB / 424.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2869, allocations: 1.5 MB / 425.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2869, allocations: 3.938 kB / 425.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.2869, allocations: 0 / 425.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.2876, allocations: 175.4 kB / 426.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.537e-05/0.2876, allocations: 4 kB / 426.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.067e-05/0.2877, allocations: 11.92 kB / 426.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2877, allocations: 8 kB / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.2877, allocations: 11.98 kB / 426.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.2878, allocations: 7.938 kB / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2878, allocations: 0 / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.2882, allocations: 247.7 kB / 426.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.2882, allocations: 0 / 426.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.2882, allocations: 7.938 kB / 426.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.2885, allocations: 172.8 kB / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2885, allocations: 0 / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2885, allocations: 0 / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2885, allocations: 0 / 426.5 MB, free: 12.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004287/0.289, allocations: 286 kB / 426.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.289, allocations: 12.03 kB / 426.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.289, allocations: 4.922 kB / 426.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2892, allocations: 122.4 kB / 427 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2892, allocations: 4.375 kB / 427 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2892, allocations: 4.375 kB / 427 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.2893, allocations: 38 kB / 427 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2893, allocations: 0 / 427 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2893, allocations: 0 / 427 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2893, allocations: 0 / 427 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.2893, allocations: 8 kB / 427 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2895, allocations: 128.8 kB / 427.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.2896, allocations: 38.55 kB / 427.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.2896, allocations: 8.859 kB / 427.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2896, allocations: 0 / 427.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2897, allocations: 34.5 kB / 427.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2897, allocations: 4 kB / 427.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001461/0.2898, allocations: 49.78 kB / 427.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2898, allocations: 59.34 kB / 427.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.2899, allocations: 97.84 kB / 427.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.29, allocations: 25.7 kB / 427.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.29, allocations: 96.06 kB / 427.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.29, allocations: 15.83 kB / 427.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2901, allocations: 17.72 kB / 427.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2902, allocations: 314.8 kB / 427.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.2902, allocations: 8 kB / 427.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.2902, allocations: 29.7 kB / 427.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.2903, allocations: 21.72 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2903, allocations: 0 / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.812e-05/0.2904, allocations: 61.95 kB / 428 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2904, allocations: 11.94 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2904, allocations: 48 / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2904, allocations: 3.984 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.2905, allocations: 8 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2905, allocations: 4.031 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.2905, allocations: 128 / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.2905, allocations: 11.94 kB / 428 MB, free: 10.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.577e-05/0.2906, allocations: 109.8 kB / 428.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.2906, allocations: 11.94 kB / 428.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.2906, allocations: 3.688 kB / 428.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2906, allocations: 0 / 428.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2906, allocations: 0 / 428.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2906, allocations: 0 / 428.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2907, allocations: 132.8 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2907, allocations: 0 / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.2908, allocations: 7.938 kB / 428.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2908, allocations: 3.938 kB / 428.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2908, allocations: 4 kB / 428.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2908, allocations: 0 / 428.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2908, allocations: 3.984 kB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2909, allocations: 81.02 kB / 428.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.291, allocations: 8 kB / 428.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.291, allocations: 4.031 kB / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.291, allocations: 0 / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.291, allocations: 0 / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.291, allocations: 3.984 kB / 428.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.051e-05/0.2911, allocations: 83.28 kB / 428.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2911, allocations: 3.938 kB / 428.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.2913, allocations: 51.86 kB / 428.5 MB, free: 9.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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.000249/0.2916, allocations: 151.1 kB / 428.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.2917, allocations: 15.98 kB / 428.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2917, allocations: 3.938 kB / 428.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.2917, allocations: 8 kB / 428.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.2918, allocations: 4 kB / 428.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.2921, allocations: 155.8 kB / 428.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.2924, allocations: 0.6844 MB / 429.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.2924, allocations: 11.5 kB / 429.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2924, allocations: 0 / 429.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of Templates: time 0.003157/0.2956, allocations: 1.167 MB / 430.7 MB, free: 7.484 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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: 7.17610462801531]