Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.001805/0.001805, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002103/0.002103, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 51.91 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1194, allocations: 53.32 MB / 427.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.002081/0.1215, allocations: 0.5264 MB / 428 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1241, allocations: 1.564 MB / 429.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.1241, allocations: 7.938 kB / 429.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.1241, allocations: 0 / 429.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00083/0.125, allocations: 175.4 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.105e-05/0.125, allocations: 3.938 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.125, allocations: 12 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.1251, allocations: 3.984 kB / 429.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.1251, allocations: 11.94 kB / 429.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1252, allocations: 11.92 kB / 429.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1252, allocations: 0 / 429.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.1257, allocations: 251.7 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1257, allocations: 0 / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1258, allocations: 11.94 kB / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.1261, allocations: 175.5 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1261, allocations: 4 kB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1261, allocations: 0 / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1261, allocations: 0 / 430.2 MB, free: 1.559 MB / 350.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.0005491/0.1267, allocations: 367.1 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1267, allocations: 8.031 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1268, allocations: 4.938 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.127, allocations: 160.4 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.127, allocations: 8.359 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.127, allocations: 384 / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1271, allocations: 41.95 kB / 430.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1271, allocations: 0 / 430.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1271, allocations: 0 / 430.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1271, allocations: 4 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.1272, allocations: 11.98 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1274, allocations: 153.7 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.192e-05/0.1275, allocations: 30.56 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.1275, allocations: 16.94 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1275, allocations: 0 / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1275, allocations: 46.44 kB / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1275, allocations: 0 / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.1277, allocations: 53.58 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1278, allocations: 51.41 kB / 431.2 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1279, allocations: 105.8 kB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1279, allocations: 25.7 kB / 431.3 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.1279, allocations: 84.08 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.128, allocations: 15.89 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.128, allocations: 13.72 kB / 431.4 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1282, allocations: 322.8 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.1282, allocations: 4 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.1282, allocations: 25.66 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.1283, allocations: 21.72 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1283, allocations: 0 / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.1284, allocations: 61.62 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1284, allocations: 11.97 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1284, allocations: 0 / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1284, allocations: 3.984 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.1285, allocations: 8 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1285, allocations: 0 / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.1285, allocations: 7.938 kB / 431.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1285, allocations: 0 / 431.9 MB, free: 15.69 MB / 366.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 9.618e-05/0.1286, allocations: 113.8 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1287, allocations: 3.938 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1287, allocations: 7.5 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1287, allocations: 0 / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1287, allocations: 0 / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1287, allocations: 7.984 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1288, allocations: 153.6 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1288, allocations: 4.109 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.1289, allocations: 11.94 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1289, allocations: 3.938 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1289, allocations: 4 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1289, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1289, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.129, allocations: 77.55 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.1291, allocations: 89.06 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1291, allocations: 4.031 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.1291, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1292, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1292, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.1292, allocations: 83.28 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1292, allocations: 8 kB / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1295, allocations: 55.86 kB / 432.5 MB, free: 14.97 MB / 366.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.0002942/0.1298, allocations: 159 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.1299, allocations: 16 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1299, allocations: 0 / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.1299, allocations: 11.98 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1301, allocations: 0 / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.1304, allocations: 171.7 kB / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1308, allocations: 0.6768 MB / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.1308, allocations: 11.44 kB / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1308, allocations: 0 / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.003398/0.1342, allocations: 1.195 MB / 434.7 MB, free: 12.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.9266935600026045]