Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009279/0.0009279, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.001331/0.001331, allocations: 165.5 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8735/0.8735, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.106e-05, allocations: 6.25 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001138/0.001159, allocations: 0.5391 MB / 251.6 MB, free: 6.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.002809, allocations: 1.486 MB / 253.1 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.002844, allocations: 0 / 253.1 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.002866, allocations: 7.938 kB / 253.1 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.003419, allocations: 179.3 kB / 253.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.785e-05/0.003437, allocations: 4 kB / 253.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.003499, allocations: 15.92 kB / 253.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.003697, allocations: 4 kB / 253.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.003772, allocations: 11.92 kB / 253.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.00383, allocations: 12 kB / 253.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003846, allocations: 0 / 253.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.004157, allocations: 235.6 kB / 253.5 MB, free: 4.996 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.004169, allocations: 0 / 253.5 MB, free: 4.996 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.004186, allocations: 4 kB / 253.5 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.00441, allocations: 211.5 kB / 253.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004412, allocations: 0 / 253.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004413, allocations: 0 / 253.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004417, allocations: 3.938 kB / 253.8 MB, free: 4.781 MB / 234.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.0003828/0.0048, allocations: 388.3 kB / 254.1 MB, free: 4.367 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.004836, allocations: 15.98 kB / 254.1 MB, free: 4.352 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.004874, allocations: 4.938 kB / 254.2 MB, free: 4.348 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.004966, allocations: 112.6 kB / 254.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.004978, allocations: 4.375 kB / 254.3 MB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.005, allocations: 8.359 kB / 254.3 MB, free: 4.199 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.437e-05/0.005064, allocations: 38.19 kB / 254.3 MB, free: 4.156 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005075, allocations: 4.141 kB / 254.3 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.005083, allocations: 384 / 254.3 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.00509, allocations: 3.938 kB / 254.3 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.005112, allocations: 4 kB / 254.3 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.005234, allocations: 120.6 kB / 254.4 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.005292, allocations: 39.06 kB / 254.5 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.005316, allocations: 19.75 kB / 254.5 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.005322, allocations: 0 / 254.5 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.005341, allocations: 33.39 kB / 254.5 MB, free: 3.875 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.005343, allocations: 0 / 254.5 MB, free: 3.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001254/0.005468, allocations: 45.69 kB / 254.6 MB, free: 3.824 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.005496, allocations: 59.34 kB / 254.6 MB, free: 3.754 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.005562, allocations: 161.9 kB / 254.8 MB, free: 3.578 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.00557, allocations: 25.7 kB / 254.8 MB, free: 3.547 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.005602, allocations: 130.9 kB / 254.9 MB, free: 3.414 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.005628, allocations: 19.84 kB / 255 MB, free: 3.395 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.00565, allocations: 23.38 kB / 255 MB, free: 3.363 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.005742, allocations: 496.1 kB / 255.5 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.005755, allocations: 7.938 kB / 255.5 MB, free: 2.859 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.005776, allocations: 23.38 kB / 255.5 MB, free: 2.828 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.005811, allocations: 35.36 kB / 255.5 MB, free: 2.785 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005813, allocations: 128 / 255.5 MB, free: 2.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.166e-05/0.005865, allocations: 53.64 kB / 255.6 MB, free: 2.727 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005877, allocations: 4 kB / 255.6 MB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005882, allocations: 8.438 kB / 255.6 MB, free: 2.715 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.005896, allocations: 7.938 kB / 255.6 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.005968, allocations: 8 kB / 255.6 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.005973, allocations: 3.938 kB / 255.6 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.005988, allocations: 0 / 255.6 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.005993, allocations: 0 / 255.6 MB, free: 2.695 MB / 234.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 6.037e-05/0.006053, allocations: 160.6 kB / 255.8 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-06/0.00606, allocations: 7.891 kB / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.006084, allocations: 11.67 kB / 255.8 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006086, allocations: 0 / 255.8 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.006092, allocations: 7.922 kB / 255.8 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006094, allocations: 4 kB / 255.8 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.533e-05/0.00615, allocations: 112.6 kB / 255.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.00615, allocations: 0 / 255.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.006185, allocations: 8 kB / 255.9 MB, free: 2.34 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006187, allocations: 3.984 kB / 255.9 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.006199, allocations: 0 / 255.9 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006199, allocations: 0 / 255.9 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0062, allocations: 0 / 255.9 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.771e-05/0.006288, allocations: 88.38 kB / 256 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-06/0.006295, allocations: 7.953 kB / 256 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006304, allocations: 4.031 kB / 256 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.006311, allocations: 0 / 256 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.006328, allocations: 11.92 kB / 256 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.00633, allocations: 3.938 kB / 256 MB, free: 2.199 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.656e-05/0.006367, allocations: 123.2 kB / 256.2 MB, free: 2.078 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006367, allocations: 0 / 256.2 MB, free: 2.078 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.006524, allocations: 55.86 kB / 256.2 MB, free: 2.023 MB / 234.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.0001754/0.006699, allocations: 151.1 kB / 256.4 MB, free: 1.867 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.487e-05/0.006774, allocations: 27.67 kB / 256.4 MB, free: 1.836 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006776, allocations: 4.062 kB / 256.4 MB, free: 1.832 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.006786, allocations: 15.62 kB / 256.4 MB, free: 1.812 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.006889, allocations: 4 kB / 256.4 MB, free: 1.809 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/0.007095, allocations: 128.7 kB / 256.5 MB, free: 1.656 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.007123, allocations: 63.23 kB / 256.6 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.362e-05/0.007156, allocations: 7.984 kB / 256.6 MB, free: 1.562 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.007171, allocations: 8.5 kB / 256.6 MB, free: 1.555 MB / 234.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007172, allocations: 0 / 256.6 MB, free: 1.555 MB / 234.7 MB Notification: Performance of Templates: time 0.002654/0.009826, allocations: 1.257 MB / 257.9 MB, free: 308 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7604229911230505]