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.0008133/0.0008133, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008038/0.0008038, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 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.8743/0.8743, allocations: 177.1 MB / 204.3 MB, free: 5.699 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.107e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001211/0.001232, allocations: 0.5228 MB / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.002801, allocations: 1.473 MB / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.002834, allocations: 0 / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.00285, allocations: 0 / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.003467, allocations: 187.2 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.33e-05/0.00349, allocations: 3.984 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.003541, allocations: 11.94 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.003584, allocations: 11.98 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.003638, allocations: 7.984 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.003685, allocations: 7.938 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.003698, allocations: 0 / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.003976, allocations: 243.6 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.003989, allocations: 3.984 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.004005, allocations: 0 / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.004232, allocations: 215.5 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004235, allocations: 0 / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.004237, allocations: 4 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.004241, allocations: 0 / 327.2 MB, free: 13.22 MB / 298.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.0003434/0.004585, allocations: 288.9 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.004625, allocations: 8.031 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.004654, allocations: 42.69 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.004676, allocations: 4.938 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.00477, allocations: 109.7 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.00478, allocations: 384 / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.004797, allocations: 384 / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.004876, allocations: 46.19 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.004886, allocations: 192 / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.004895, allocations: 4.125 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.0049, allocations: 0 / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.128e-05/0.004932, allocations: 7.984 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.005064, allocations: 128.7 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/0.005128, allocations: 30.61 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.005151, allocations: 20.8 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.00516, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.005181, allocations: 34.56 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.005182, allocations: 0 / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001355/0.005317, allocations: 49.72 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.005349, allocations: 55.34 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.00542, allocations: 110 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.005431, allocations: 25.7 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.005458, allocations: 80.14 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.005489, allocations: 15.89 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.005516, allocations: 21.7 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.005606, allocations: 318.8 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.005625, allocations: 11.88 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.005652, allocations: 21.7 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.005696, allocations: 29.72 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005698, allocations: 0 / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.965e-05/0.005768, allocations: 53.62 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.005782, allocations: 4 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.005789, allocations: 4 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.005804, allocations: 3.938 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.005891, allocations: 12.03 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.005897, allocations: 3.984 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.005913, allocations: 0 / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.005919, allocations: 4 kB / 328.8 MB, free: 11.5 MB / 298.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 6.006e-05/0.005979, allocations: 113.8 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.005987, allocations: 3.953 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.006017, allocations: 7.688 kB / 328.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.00602, allocations: 3.938 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.006025, allocations: 3.938 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.006029, allocations: 0 / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.006104, allocations: 132.7 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006105, allocations: 4 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.006152, allocations: 4.125 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006153, allocations: 0 / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006161, allocations: 4 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006163, allocations: 3.938 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.006165, allocations: 4 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006286, allocations: 77.11 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.006292, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006302, allocations: 4.031 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.006312, allocations: 4 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.006325, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.006327, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.266e-05/0.00636, allocations: 91.2 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00636, allocations: 0 / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.006566, allocations: 51.88 kB / 329.3 MB, free: 10.92 MB / 298.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.0003768/0.006943, allocations: 0.6752 MB / 329.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.007024, allocations: 27.86 kB / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.007025, allocations: 0 / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.007034, allocations: 4.266 kB / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.007148, allocations: 12.03 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.007931, allocations: 1.178 MB / 331.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.00797, allocations: 63.34 kB / 331.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.749e-05/0.008048, allocations: 7.984 kB / 331.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.008076, allocations: 8.5 kB / 331.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008077, allocations: 0 / 331.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.02346, allocations: 2.717 MB / 334 MB, free: 6.199 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.425/6.448, allocations: 6.938 kB / 334 MB, free: 6.195 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.04545010626316]