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.001386/0.001386, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001656/0.001656, allocations: 170.9 kB / 25.7 MB, free: 8.453 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.9776/0.9776, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.733e-06/1.733e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.544e-05, allocations: 2.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001784/0.00181, allocations: 0.5978 MB / 252.2 MB, free: 6.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.003684, allocations: 1.486 MB / 253.7 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.00373, allocations: 0 / 253.7 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.003756, allocations: 3.938 kB / 253.7 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.004397, allocations: 163.4 kB / 253.8 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.428e-05/0.004411, allocations: 0 / 253.8 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.004466, allocations: 15.92 kB / 253.8 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.004511, allocations: 4 kB / 253.8 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.004578, allocations: 11.94 kB / 253.9 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.004639, allocations: 3.984 kB / 253.9 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.004656, allocations: 3.984 kB / 253.9 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.005008, allocations: 251.6 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.005021, allocations: 4 kB / 254.1 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.005037, allocations: 11.94 kB / 254.1 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.005302, allocations: 219.4 kB / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005305, allocations: 0 / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.005306, allocations: 0 / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005311, allocations: 0 / 254.3 MB, free: 4.438 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.0003933/0.005704, allocations: 260.6 kB / 254.6 MB, free: 4.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.005753, allocations: 11.98 kB / 254.6 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.005787, allocations: 4.938 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.005878, allocations: 105.8 kB / 254.7 MB, free: 4.016 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.005891, allocations: 4.375 kB / 254.7 MB, free: 4.012 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.00591, allocations: 4.375 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.00599, allocations: 34.25 kB / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.006004, allocations: 4.172 kB / 254.8 MB, free: 3.965 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.006012, allocations: 384 / 254.8 MB, free: 3.965 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.006019, allocations: 3.938 kB / 254.8 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.006045, allocations: 11.92 kB / 254.8 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.006153, allocations: 61.05 kB / 254.8 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.479e-05/0.006218, allocations: 30.56 kB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.006236, allocations: 9 kB / 254.9 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.006246, allocations: 3.984 kB / 254.9 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.006279, allocations: 34.56 kB / 254.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.006279, allocations: 0 / 254.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.000115/0.006394, allocations: 45.62 kB / 255 MB, free: 3.727 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.006431, allocations: 55.34 kB / 255 MB, free: 3.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.00651, allocations: 98.72 kB / 255.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006524, allocations: 25.7 kB / 255.1 MB, free: 3.52 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.006562, allocations: 88.12 kB / 255.2 MB, free: 3.43 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.00661, allocations: 15.89 kB / 255.2 MB, free: 3.414 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.006638, allocations: 13.72 kB / 255.2 MB, free: 3.395 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.006747, allocations: 326.8 kB / 255.6 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.006757, allocations: 4 kB / 255.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.006782, allocations: 25.7 kB / 255.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.00682, allocations: 21.66 kB / 255.6 MB, free: 3.004 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.006823, allocations: 0 / 255.6 MB, free: 3.004 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.493e-05/0.006888, allocations: 45.67 kB / 255.7 MB, free: 2.953 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.006904, allocations: 8 kB / 255.7 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.006911, allocations: 0 / 255.7 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.006926, allocations: 0 / 255.7 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.007045, allocations: 11.94 kB / 255.7 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007049, allocations: 0 / 255.7 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.007067, allocations: 11.91 kB / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.007071, allocations: 4 kB / 255.7 MB, free: 2.918 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 5.221e-05/0.007123, allocations: 109.8 kB / 255.8 MB, free: 2.801 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.007129, allocations: 7.984 kB / 255.8 MB, free: 2.793 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.007154, allocations: 4.109 kB / 255.8 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007156, allocations: 0 / 255.8 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007158, allocations: 0 / 255.8 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00716, allocations: 0 / 255.8 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.37e-05/0.007224, allocations: 73.83 kB / 255.9 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007226, allocations: 4.109 kB / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.007275, allocations: 19.98 kB / 255.9 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007277, allocations: 4 kB / 255.9 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.007286, allocations: 0 / 255.9 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007287, allocations: 0 / 255.9 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007289, allocations: 0 / 255.9 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.007401, allocations: 80.94 kB / 256 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.00741, allocations: 0 / 256 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.00742, allocations: 0 / 256 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-06/0.007427, allocations: 4 kB / 256 MB, free: 2.57 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.007439, allocations: 3.938 kB / 256 MB, free: 2.566 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.007441, allocations: 0 / 256 MB, free: 2.566 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.615e-05/0.007457, allocations: 20.88 kB / 256 MB, free: 2.543 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007457, allocations: 0 / 256 MB, free: 2.543 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.007613, allocations: 47.88 kB / 256.1 MB, free: 2.496 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.0002061/0.007819, allocations: 144.2 kB / 256.2 MB, free: 2.348 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.346e-05/0.007882, allocations: 20.78 kB / 256.2 MB, free: 2.324 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.007886, allocations: 4 kB / 256.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.007896, allocations: 12.84 kB / 256.2 MB, free: 2.305 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.881e-05/0.007964, allocations: 3.938 kB / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.008165, allocations: 127.1 kB / 256.4 MB, free: 2.152 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.008195, allocations: 59.34 kB / 256.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.00824, allocations: 4 kB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.008274, allocations: 47.38 kB / 256.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008275, allocations: 0 / 256.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of Templates: time 0.002955/0.01123, allocations: 1.273 MB / 257.8 MB, free: 0.7461 MB / 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 -s gbode -gbm=radauIIA3 -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.5952199031598866]