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.001222/0.001222, allocations: 101.5 kB / 21.21 MB, free: 0.6484 MB / 14.72 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.001322/0.001322, allocations: 186.1 kB / 24.49 MB, free: 3.961 MB / 14.72 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 1.322/1.322, allocations: 225.7 MB / 253.3 MB, free: 12.88 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 47.92 kB / 371.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 52.18 MB / 423.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001587/0.2468, allocations: 0.5308 MB / 423.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2487, allocations: 1.406 MB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.2487, allocations: 0 / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.2487, allocations: 3.938 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.2493, allocations: 173.5 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.491e-05/0.2493, allocations: 7.984 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.2493, allocations: 11.98 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2494, allocations: 8 kB / 425.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.2494, allocations: 11.92 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.2495, allocations: 7.938 kB / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.2495, allocations: 0 / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.2499, allocations: 239.7 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2499, allocations: 7.984 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2499, allocations: 11.92 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2502, allocations: 163.7 kB / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2502, allocations: 0 / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2502, allocations: 0 / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2502, allocations: 3.938 kB / 425.9 MB, free: 11.84 MB / 334.1 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.0003968/0.2506, allocations: 290 kB / 426.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2506, allocations: 8.031 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.2506, allocations: 4.188 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.2506, allocations: 30.75 kB / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.2507, allocations: 8.891 kB / 426.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2508, allocations: 114.5 kB / 426.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2508, allocations: 384 / 426.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.2508, allocations: 4.375 kB / 426.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.833e-05/0.2509, allocations: 41.56 kB / 426.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2509, allocations: 0 / 426.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.2509, allocations: 0 / 426.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2509, allocations: 0 / 426.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.251, allocations: 11.98 kB / 426.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.2511, allocations: 136.7 kB / 426.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.2512, allocations: 26.58 kB / 426.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.2512, allocations: 20.88 kB / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2512, allocations: 3.938 kB / 426.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2513, allocations: 38.56 kB / 426.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2513, allocations: 0 / 426.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.2514, allocations: 45.69 kB / 426.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2514, allocations: 51.41 kB / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.2515, allocations: 97.86 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2515, allocations: 29.7 kB / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.2516, allocations: 84.12 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2516, allocations: 11.91 kB / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.2516, allocations: 17.72 kB / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2518, allocations: 322.8 kB / 427.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.2518, allocations: 11.92 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.2518, allocations: 17.72 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.2519, allocations: 25.72 kB / 427.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2519, allocations: 0 / 427.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.056e-05/0.252, allocations: 65.52 kB / 427.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.252, allocations: 11.94 kB / 427.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.252, allocations: 128 / 427.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.252, allocations: 4.031 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.2521, allocations: 15.98 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.2521, allocations: 0 / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.2521, allocations: 0 / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.2521, allocations: 4 kB / 427.4 MB, free: 10.11 MB / 334.1 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 7.721e-05/0.2522, allocations: 109.8 kB / 427.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.2522, allocations: 8.359 kB / 427.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.2522, allocations: 3.688 kB / 427.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2522, allocations: 0 / 427.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2522, allocations: 3.938 kB / 427.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2522, allocations: 3.984 kB / 427.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2523, allocations: 132.8 kB / 427.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2523, allocations: 3.938 kB / 427.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.2524, allocations: 4 kB / 427.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2524, allocations: 0 / 427.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2524, allocations: 3.984 kB / 427.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2524, allocations: 4 kB / 427.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2524, allocations: 3.984 kB / 427.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.2525, allocations: 77.08 kB / 427.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.2525, allocations: 3.938 kB / 427.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.2525, allocations: 4.031 kB / 427.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.2526, allocations: 8 kB / 427.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2526, allocations: 3.984 kB / 427.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2526, allocations: 0 / 427.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.2526, allocations: 87.22 kB / 427.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2526, allocations: 0 / 427.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.2529, allocations: 59.8 kB / 428 MB, free: 9.523 MB / 334.1 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.0005371/0.2534, allocations: 0.6592 MB / 428.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.2535, allocations: 15.94 kB / 428.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2535, allocations: 0 / 428.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.679e-05/0.2535, allocations: 12.12 kB / 428.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.2536, allocations: 11.92 kB / 428.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2547, allocations: 1.177 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.2547, allocations: 75.12 kB / 429.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.2548, allocations: 7.984 kB / 429.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.2548, allocations: 7.438 kB / 429.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2548, allocations: 0 / 429.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.2849, allocations: 2.164 MB / 432.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.68, allocations: 10.64 kB / 432.1 MB, free: 5.379 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/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: 12.971938706934452]