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.0008135/0.0008135, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003789/0.003789, allocations: 162.5 kB / 24.69 MB, free: 8.887 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.862/0.862, allocations: 158.6 MB / 186.5 MB, free: 3.035 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.14e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001305/0.001326, allocations: 0.5349 MB / 299 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.0029, allocations: 1.439 MB / 300.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.002934, allocations: 4 kB / 300.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.002952, allocations: 0 / 300.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.003483, allocations: 171.3 kB / 300.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.198e-05/0.003505, allocations: 15.92 kB / 300.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.717e-05/0.003552, allocations: 11.92 kB / 300.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.003591, allocations: 4 kB / 300.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.003642, allocations: 8 kB / 300.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.003689, allocations: 7.984 kB / 300.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.003703, allocations: 0 / 300.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.003976, allocations: 235.6 kB / 300.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.003989, allocations: 3.938 kB / 300.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.004008, allocations: 8 kB / 300.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.004246, allocations: 203.6 kB / 301.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00425, allocations: 4 kB / 301.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00425, allocations: 0 / 301.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004255, allocations: 0 / 301.1 MB, free: 0.8477 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.0003333/0.004588, allocations: 282 kB / 301.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.004628, allocations: 15.98 kB / 301.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.004656, allocations: 38.69 kB / 301.4 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.004678, allocations: 8.922 kB / 301.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.004777, allocations: 105.8 kB / 301.5 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.004787, allocations: 384 / 301.5 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.004804, allocations: 12.27 kB / 301.5 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.004879, allocations: 42.19 kB / 301.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.004889, allocations: 192 / 301.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004898, allocations: 4.125 kB / 301.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.004902, allocations: 0 / 301.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.004934, allocations: 7.984 kB / 301.6 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.005051, allocations: 124.8 kB / 301.7 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.684e-05/0.005108, allocations: 34.56 kB / 301.7 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.005127, allocations: 12.86 kB / 301.8 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.005134, allocations: 4 kB / 301.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.005152, allocations: 34.59 kB / 301.8 MB, free: 4 kB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.005153, allocations: 0 / 301.8 MB, free: 4 kB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.1218/0.1269, allocations: 49.55 kB / 301.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.1269, allocations: 51.41 kB / 301.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.127, allocations: 103.2 kB / 302 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.127, allocations: 25.7 kB / 302 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.127, allocations: 84.67 kB / 302.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.1271, allocations: 15.98 kB / 302.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.1271, allocations: 19.25 kB / 302.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.882e-05/0.1271, allocations: 314 kB / 302.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.1271, allocations: 8.875 kB / 302.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.1271, allocations: 21.12 kB / 302.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.1272, allocations: 31.81 kB / 302.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1272, allocations: 0 / 302.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.507e-05/0.1272, allocations: 59.42 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1273, allocations: 4.719 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1273, allocations: 5.391 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1273, allocations: 0 / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.1274, allocations: 8.609 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.1274, allocations: 5.5 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.1274, allocations: 4.938 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1274, allocations: 2.125 kB / 302.6 MB, free: 15.21 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 3.632e-05/0.1274, allocations: 109.6 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-06/0.1274, allocations: 7.344 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.1274, allocations: 8.359 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1274, allocations: 1.531 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1275, allocations: 5.031 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1275, allocations: 4.125 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.471e-05/0.1275, allocations: 126.3 kB / 302.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1275, allocations: 3.5 kB / 302.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.1276, allocations: 8.469 kB / 302.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1276, allocations: 3.938 kB / 302.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1276, allocations: 0 / 302.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1276, allocations: 3.391 kB / 302.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1276, allocations: 0 / 302.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.244e-05/0.1277, allocations: 80.86 kB / 302.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.1277, allocations: 7.484 kB / 303 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.1277, allocations: 0 / 303 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-06/0.1277, allocations: 5.016 kB / 303 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.1277, allocations: 1.859 kB / 303 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1277, allocations: 3.406 kB / 303 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.1277, allocations: 83.98 kB / 303 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1277, allocations: 0 / 303 MB, free: 14.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.1279, allocations: 55.69 kB / 303.1 MB, free: 14.79 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.000264/0.1282, allocations: 0.6718 MB / 303.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.871e-05/0.1283, allocations: 28.39 kB / 303.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1283, allocations: 0 / 303.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.377e-06/0.1283, allocations: 7.547 kB / 303.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.1284, allocations: 6.516 kB / 303.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.1289, allocations: 1.172 MB / 305 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.1289, allocations: 62.08 kB / 305 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.744e-05/0.129, allocations: 3.844 kB / 305.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.129, allocations: 18.22 kB / 305.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.129, allocations: 0 / 305.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.1468, allocations: 2.643 MB / 307.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.806, allocations: 6.578 kB / 307.7 MB, free: 11.97 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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: 8.371928438544273]