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.00146/0.00146, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001468/0.001468, allocations: 149.5 kB / 24.25 MB, free: 160 kB / 18.57 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.473/1.473, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.402e-06/1.402e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.754e-05, allocations: 10.25 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001673/0.0017, allocations: 0.5204 MB / 267.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.003977, allocations: 1.42 MB / 269.3 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.004003, allocations: 4 kB / 269.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.004014, allocations: 0 / 269.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007122/0.004726, allocations: 175.3 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.083e-05/0.004757, allocations: 3.984 kB / 269.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.004821, allocations: 15.94 kB / 269.5 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.004858, allocations: 0 / 269.5 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.00494, allocations: 15.92 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.004996, allocations: 11.98 kB / 269.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.005015, allocations: 4 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.005465, allocations: 227.7 kB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.005476, allocations: 0 / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.005503, allocations: 3.938 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.005879, allocations: 219.5 kB / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005881, allocations: 0 / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005882, allocations: 0 / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.005886, allocations: 3.938 kB / 269.9 MB, free: 4.082 MB / 250.7 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.0004875/0.006373, allocations: 286 kB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.006411, allocations: 12.92 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.006454, allocations: 4.891 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.006594, allocations: 109.8 kB / 270.3 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.006608, allocations: 4.375 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.006636, allocations: 8.359 kB / 270.4 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.006722, allocations: 34.25 kB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006732, allocations: 192 / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.006739, allocations: 384 / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006746, allocations: 3.938 kB / 270.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.006779, allocations: 8 kB / 270.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.006953, allocations: 117.2 kB / 270.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.007038, allocations: 30.52 kB / 270.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.007069, allocations: 12.98 kB / 270.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.00708, allocations: 0 / 270.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.007114, allocations: 34.56 kB / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.007115, allocations: 0 / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001663/0.007281, allocations: 53.58 kB / 270.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.007329, allocations: 55.34 kB / 270.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.00744, allocations: 105.8 kB / 270.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.00746, allocations: 25.7 kB / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.007515, allocations: 88.14 kB / 270.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.007541, allocations: 7.953 kB / 270.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.007597, allocations: 17.72 kB / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.007772, allocations: 314.8 kB / 271.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.007795, allocations: 8 kB / 271.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.007826, allocations: 13.72 kB / 271.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.00789, allocations: 33.66 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007892, allocations: 0 / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.008011, allocations: 61.64 kB / 271.4 MB, free: 2.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.008025, allocations: 4 kB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.008029, allocations: 4.031 kB / 271.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.008049, allocations: 3.984 kB / 271.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.008131, allocations: 12.36 kB / 271.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.008138, allocations: 3.938 kB / 271.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.008164, allocations: 7.938 kB / 271.4 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.008167, allocations: 0 / 271.4 MB, free: 2.445 MB / 250.7 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 8.665e-05/0.008254, allocations: 109.8 kB / 271.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.008268, allocations: 4 kB / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.008293, allocations: 3.688 kB / 271.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.008299, allocations: 7.984 kB / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.008305, allocations: 7.938 kB / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.008312, allocations: 3.984 kB / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.008421, allocations: 101.3 kB / 271.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008422, allocations: 0 / 271.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.00849, allocations: 12.12 kB / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008491, allocations: 0 / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.008503, allocations: 3.984 kB / 271.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008504, allocations: 3.938 kB / 271.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008505, allocations: 0 / 271.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.008657, allocations: 88.95 kB / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-06/0.008664, allocations: 4.062 kB / 271.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.008677, allocations: 0 / 271.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.008696, allocations: 0 / 271.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.008717, allocations: 8.016 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.008722, allocations: 3.938 kB / 271.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.008781, allocations: 83.28 kB / 271.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.008781, allocations: 0 / 271.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000281/0.009062, allocations: 51.86 kB / 271.9 MB, free: 1.895 MB / 250.7 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.0002984/0.009361, allocations: 155.1 kB / 272 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.009455, allocations: 19.98 kB / 272.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009457, allocations: 4 kB / 272.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.009476, allocations: 12 kB / 272.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.009629, allocations: 2.969 kB / 272.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.009929, allocations: 120.6 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.009994, allocations: 67.28 kB / 272.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.64e-05/0.01008, allocations: 3.984 kB / 272.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.01011, allocations: 12.5 kB / 272.3 MB, free: 1.449 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01011, allocations: 3.938 kB / 272.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of Templates: time 0.004412/0.01452, allocations: 1.113 MB / 273.4 MB, free: 336 kB / 250.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/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: 4.155807321891189]