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.001384/0.001384, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001363/0.001363, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.997/0.997, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764e-06/1.764e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.114e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001423/0.001454, allocations: 0.5378 MB / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.003189, allocations: 1.509 MB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.003224, allocations: 4 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.003243, allocations: 4 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.003833, allocations: 179.3 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.292e-05/0.003856, allocations: 4 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.003912, allocations: 11.92 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.003955, allocations: 4 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.004017, allocations: 11.94 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.004069, allocations: 11.98 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004084, allocations: 0 / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.004384, allocations: 235.6 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.004398, allocations: 4 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.004419, allocations: 7.922 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.004666, allocations: 219.5 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004668, allocations: 0 / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004669, allocations: 0 / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004674, allocations: 0 / 275.7 MB, free: 14.8 MB / 266.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.00038/0.005054, allocations: 392.3 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.005094, allocations: 12.03 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.005134, allocations: 4.938 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.005226, allocations: 112.6 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.005237, allocations: 4.375 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.005257, allocations: 384 / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.579e-05/0.005323, allocations: 30.27 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005331, allocations: 192 / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005342, allocations: 4.359 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.00535, allocations: 15.86 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.005375, allocations: 7.938 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.005497, allocations: 120.6 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.72e-05/0.005554, allocations: 39.06 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.005574, allocations: 11.69 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.005581, allocations: 96 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.005602, allocations: 41.38 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.005603, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001279/0.005731, allocations: 49.62 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.005764, allocations: 55.34 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.005841, allocations: 157.9 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.00585, allocations: 29.7 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.005887, allocations: 130.9 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.005916, allocations: 19.84 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.005942, allocations: 23.38 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.006048, allocations: 496.1 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.006064, allocations: 3.984 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.006088, allocations: 27.38 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.006132, allocations: 31.31 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006134, allocations: 128 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.448e-05/0.006198, allocations: 53.69 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.006213, allocations: 8 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006218, allocations: 3.938 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006229, allocations: 4.031 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.006307, allocations: 11.98 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006312, allocations: 3.938 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.006327, allocations: 0 / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.006335, allocations: 4 kB / 277.6 MB, free: 12.71 MB / 266.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.439e-05/0.006419, allocations: 156.6 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.006428, allocations: 7.953 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.006461, allocations: 3.688 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006463, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.006469, allocations: 3.938 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006473, allocations: 4.422 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.006871, allocations: 124.6 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006872, allocations: 0 / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.006929, allocations: 7.938 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00693, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.006943, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.006946, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.00695, allocations: 11.95 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.007061, allocations: 92.31 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.007068, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.007079, allocations: 8.031 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.007087, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.007102, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.007107, allocations: 7.922 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.007141, allocations: 123.2 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007141, allocations: 0 / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.007342, allocations: 59.86 kB / 278.2 MB, free: 12.04 MB / 266.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.0002086/0.007551, allocations: 155.1 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.172e-05/0.007643, allocations: 31.61 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007645, allocations: 64 / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.007656, allocations: 15.69 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.007785, allocations: 15.92 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.008047, allocations: 130.2 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.168e-05/0.008079, allocations: 55.3 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.008119, allocations: 7.984 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.008139, allocations: 8.5 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.008139, allocations: 7.938 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Templates: time 0.00309/0.01123, allocations: 1.311 MB / 279.9 MB, free: 10.25 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.778115923050791]