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.001985/0.001985, allocations: 112 kB / 20.43 MB, free: 1.457 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.001411/0.001411, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.369/1.369, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001639/0.001639, allocations: 43.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2662, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001602/0.2678, allocations: 0.5238 MB / 423.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2698, allocations: 1.511 MB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.2698, allocations: 0 / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.2698, allocations: 0 / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005915/0.2704, allocations: 167.5 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.421e-05/0.2704, allocations: 8 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.2705, allocations: 19.91 kB / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.2705, allocations: 4 kB / 424.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.2706, allocations: 8 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.2706, allocations: 7.938 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2706, allocations: 0 / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.271, allocations: 243.7 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.271, allocations: 7.938 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.2711, allocations: 7.922 kB / 425.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.2714, allocations: 175.9 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2714, allocations: 8 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2714, allocations: 0 / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2714, allocations: 0 / 425.3 MB, free: 11.92 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.00041/0.2718, allocations: 286 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2718, allocations: 8.031 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.2719, allocations: 34.75 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.2719, allocations: 0.9375 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.272, allocations: 114.5 kB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.272, allocations: 384 / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.272, allocations: 4.375 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.2721, allocations: 37.81 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2721, allocations: 11.98 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.2721, allocations: 0 / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2721, allocations: 0 / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.2722, allocations: 11.92 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.2723, allocations: 128.7 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.2724, allocations: 34.58 kB / 426 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.2724, allocations: 8.859 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.2724, allocations: 0 / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2725, allocations: 42.58 kB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.2725, allocations: 0 / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001359/0.2726, allocations: 49.62 kB / 426.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.2727, allocations: 55.41 kB / 426.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.2727, allocations: 97.86 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2728, allocations: 29.7 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.2728, allocations: 84.08 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2728, allocations: 19.89 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.2729, allocations: 13.72 kB / 426.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.273, allocations: 318.8 kB / 426.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.273, allocations: 4 kB / 426.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.273, allocations: 21.7 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.2731, allocations: 33.66 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2731, allocations: 0 / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.77e-05/0.2732, allocations: 65.52 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2732, allocations: 8 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2732, allocations: 128 / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2732, allocations: 4 kB / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.2733, allocations: 8 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2733, allocations: 3.984 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.2733, allocations: 3.938 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2733, allocations: 8.031 kB / 426.8 MB, free: 10.2 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.91e-05/0.2734, allocations: 109.8 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2734, allocations: 7.938 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.2735, allocations: 3.688 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2735, allocations: 432 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2735, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2735, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.2736, allocations: 128.8 kB / 427.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2736, allocations: 0 / 427.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.2736, allocations: 11.94 kB / 427.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2736, allocations: 7.969 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2736, allocations: 0 / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2736, allocations: 3.938 kB / 427.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2736, allocations: 4 kB / 427.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2738, allocations: 77.08 kB / 427.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.2738, allocations: 3.938 kB / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2738, allocations: 0 / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.2738, allocations: 4.062 kB / 427.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.2738, allocations: 8.016 kB / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2738, allocations: 0 / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.2739, allocations: 83.28 kB / 427.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2739, allocations: 3.938 kB / 427.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.2741, allocations: 55.8 kB / 427.3 MB, free: 9.621 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.0005446/0.2747, allocations: 0.6669 MB / 428 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.2747, allocations: 16 kB / 428 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2747, allocations: 0 / 428 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.2748, allocations: 11.92 kB / 428 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2749, allocations: 4 kB / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2759, allocations: 1.183 MB / 429.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2763, allocations: 0.6844 MB / 429.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.43e-05/0.2764, allocations: 7.984 kB / 429.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.2764, allocations: 7.438 kB / 429.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2764, allocations: 0 / 429.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3058, allocations: 2.132 MB / 432 MB, free: 4.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.65, allocations: 2.234 kB / 432 MB, free: 4.883 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.979571990901604]