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.0008174/0.0008174, allocations: 76.08 kB / 20.67 MB, free: 3.891 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.0007322/0.0007322, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 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 0.8643/0.8643, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.282e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001656/0.001679, allocations: 0.5087 MB / 318.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.003716, allocations: 1.406 MB / 320.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.003747, allocations: 0 / 320.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.003768, allocations: 3.938 kB / 320.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.004275, allocations: 175.3 kB / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.965e-05/0.004295, allocations: 7.969 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.004345, allocations: 11.94 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.004386, allocations: 8 kB / 320.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.004441, allocations: 15.92 kB / 320.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.004488, allocations: 7.938 kB / 320.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.0045, allocations: 4 kB / 320.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.004756, allocations: 231.7 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.004769, allocations: 4 kB / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.004783, allocations: 4 kB / 320.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005004, allocations: 215.5 kB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005006, allocations: 0 / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005007, allocations: 4 kB / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.00501, allocations: 0 / 321 MB, free: 3.742 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.000311/0.005321, allocations: 278 kB / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.00536, allocations: 8.922 kB / 321.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.005386, allocations: 42.73 kB / 321.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.005408, allocations: 8.891 kB / 321.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.005501, allocations: 109.7 kB / 321.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.005511, allocations: 384 / 321.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005527, allocations: 4.375 kB / 321.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.648e-05/0.005594, allocations: 38.23 kB / 321.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.005606, allocations: 4.188 kB / 321.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005614, allocations: 4.125 kB / 321.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.005619, allocations: 0 / 321.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.005649, allocations: 15.92 kB / 321.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.005766, allocations: 120.8 kB / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.005824, allocations: 38.61 kB / 321.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.005842, allocations: 8.859 kB / 321.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.00585, allocations: 0 / 321.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.005868, allocations: 34.56 kB / 321.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.005868, allocations: 0 / 321.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001345/0.006003, allocations: 57.61 kB / 321.8 MB, free: 2.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.006035, allocations: 51.41 kB / 321.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.006102, allocations: 105.8 kB / 321.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.006111, allocations: 25.7 kB / 322 MB, free: 2.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.00614, allocations: 88.12 kB / 322.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006165, allocations: 7.953 kB / 322.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.006197, allocations: 25.64 kB / 322.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.006272, allocations: 314.8 kB / 322.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.006291, allocations: 8 kB / 322.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.006318, allocations: 13.72 kB / 322.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.006367, allocations: 41.58 kB / 322.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.00637, allocations: 0 / 322.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.014e-05/0.00643, allocations: 57.58 kB / 322.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006441, allocations: 4 kB / 322.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.006447, allocations: 8.031 kB / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.00646, allocations: 3.938 kB / 322.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.006533, allocations: 12 kB / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006538, allocations: 0 / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.006554, allocations: 0 / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.006558, allocations: 0 / 322.5 MB, free: 2.031 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.696e-05/0.006605, allocations: 109.8 kB / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.006611, allocations: 4.406 kB / 322.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.006633, allocations: 11.69 kB / 322.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.006635, allocations: 3.938 kB / 322.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.00664, allocations: 3.984 kB / 322.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.006642, allocations: 4 kB / 322.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.372e-05/0.006716, allocations: 124.8 kB / 322.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006717, allocations: 0 / 322.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.006758, allocations: 8 kB / 322.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006759, allocations: 0 / 322.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.006766, allocations: 128 / 322.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.00677, allocations: 7.938 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006771, allocations: 3.938 kB / 322.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.006886, allocations: 77.08 kB / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.006895, allocations: 7.922 kB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.006908, allocations: 8.062 kB / 322.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.006923, allocations: 7.969 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.006934, allocations: 0 / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.006937, allocations: 0 / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.006971, allocations: 79.28 kB / 323 MB, free: 1.504 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006971, allocations: 0 / 323 MB, free: 1.504 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.007219, allocations: 55.86 kB / 323 MB, free: 1.449 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.000366/0.007585, allocations: 0.6747 MB / 323.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.00765, allocations: 19.98 kB / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007652, allocations: 128 / 323.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-06/0.00766, allocations: 11.94 kB / 323.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.007765, allocations: 10.91 kB / 323.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.008453, allocations: 1.174 MB / 324.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.008486, allocations: 63.34 kB / 325 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.008535, allocations: 4 kB / 325 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.008559, allocations: 12.5 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.00856, allocations: 0 / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.02539, allocations: 2.664 MB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.682, allocations: 3.938 kB / 327.7 MB, free: 12.79 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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: 8.29703332670033]