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.0008241/0.0008241, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.000931/0.000931, allocations: 159.6 kB / 25.45 MB, free: 8.855 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.8826/0.8826, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.843e-06/1.843e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.389e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0009966/0.00102, allocations: 0.5229 MB / 300.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.002321, allocations: 1.444 MB / 301.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.002344, allocations: 0 / 301.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.002359, allocations: 3.938 kB / 301.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007207/0.00308, allocations: 179.3 kB / 301.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.99e-05/0.003099, allocations: 7.984 kB / 301.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.513e-05/0.003145, allocations: 7.938 kB / 301.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.003184, allocations: 7.984 kB / 301.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.003241, allocations: 15.92 kB / 301.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.003283, allocations: 4 kB / 301.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.003296, allocations: 0 / 301.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.003535, allocations: 223.7 kB / 302.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.003547, allocations: 7.938 kB / 302.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.003562, allocations: 11.98 kB / 302.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.003779, allocations: 211.5 kB / 302.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003781, allocations: 0 / 302.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003781, allocations: 3.938 kB / 302.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003785, allocations: 0 / 302.3 MB, free: 4.246 MB / 282.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.0003107/0.004096, allocations: 289.9 kB / 302.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.004129, allocations: 15.92 kB / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.004158, allocations: 0.9375 kB / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.004244, allocations: 113.7 kB / 302.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.004253, allocations: 384 / 302.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.004271, allocations: 12.33 kB / 302.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.488e-05/0.004336, allocations: 38.25 kB / 302.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.004345, allocations: 192 / 302.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.004353, allocations: 384 / 302.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004358, allocations: 3.938 kB / 302.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.004385, allocations: 4 kB / 302.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.004491, allocations: 109.4 kB / 302.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/0.004542, allocations: 34.5 kB / 303 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.004562, allocations: 16.94 kB / 303 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.004569, allocations: 0 / 303 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.004586, allocations: 34.56 kB / 303 MB, free: 3.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 4.81e-07/0.004587, allocations: 4 kB / 303 MB, free: 3.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001097/0.004697, allocations: 49.62 kB / 303.1 MB, free: 3.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.004731, allocations: 55.34 kB / 303.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.00479, allocations: 101.9 kB / 303.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004799, allocations: 25.7 kB / 303.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.004828, allocations: 84.12 kB / 303.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.004853, allocations: 15.91 kB / 303.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.004875, allocations: 9.719 kB / 303.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.004944, allocations: 318.8 kB / 303.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.004957, allocations: 7.984 kB / 303.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.004978, allocations: 21.84 kB / 303.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.005014, allocations: 33.66 kB / 303.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005016, allocations: 0 / 303.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.06e-05/0.005067, allocations: 53.69 kB / 303.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.005077, allocations: 8 kB / 303.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.005087, allocations: 0 / 303.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.005098, allocations: 0 / 303.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.005167, allocations: 15.92 kB / 303.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.005172, allocations: 3.938 kB / 303.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.005185, allocations: 3.938 kB / 303.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.00519, allocations: 8.031 kB / 303.8 MB, free: 2.602 MB / 282.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 4.855e-05/0.005239, allocations: 113.8 kB / 303.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.005245, allocations: 7.953 kB / 303.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.005262, allocations: 3.688 kB / 303.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005264, allocations: 0 / 303.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.005268, allocations: 3.938 kB / 303.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.00527, allocations: 0 / 303.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.447e-05/0.005325, allocations: 105.3 kB / 304 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005325, allocations: 4 kB / 304 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.00536, allocations: 7.938 kB / 304 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005361, allocations: 4 kB / 304 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.005368, allocations: 0 / 304 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.005369, allocations: 3.984 kB / 304.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00537, allocations: 4 kB / 304.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.005457, allocations: 81.42 kB / 304.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.005462, allocations: 3.953 kB / 304.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.005472, allocations: 4.031 kB / 304.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-06/0.00548, allocations: 0 / 304.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.005491, allocations: 0 / 304.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.005495, allocations: 7.969 kB / 304.2 MB, free: 2.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.005523, allocations: 87.27 kB / 304.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005523, allocations: 4.062 kB / 304.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.005693, allocations: 51.86 kB / 304.3 MB, free: 2.055 MB / 282.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.0001784/0.005871, allocations: 163.1 kB / 304.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.423e-05/0.005935, allocations: 19.92 kB / 304.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.005938, allocations: 4 kB / 304.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.005945, allocations: 4 kB / 304.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.00605, allocations: 3.656 kB / 304.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.006254, allocations: 138.6 kB / 304.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.006294, allocations: 71.34 kB / 304.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.006308, allocations: 8.5 kB / 304.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006309, allocations: 0 / 304.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Templates: time 0.001942/0.008251, allocations: 1.171 MB / 305.9 MB, free: 432 kB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.125770544633269]