Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 206.7 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 55.91 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2635, allocations: 53.4 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001999/0.2655, allocations: 0.5194 MB / 431.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2677, allocations: 1.477 MB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.2678, allocations: 0 / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2678, allocations: 3.938 kB / 433.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.2686, allocations: 167.5 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.605e-05/0.2686, allocations: 15.97 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.2687, allocations: 15.88 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.2687, allocations: 4 kB / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.2688, allocations: 11.98 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.2688, allocations: 3.938 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2689, allocations: 4 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.2693, allocations: 235.7 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2693, allocations: 3.984 kB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.2693, allocations: 7.938 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.2696, allocations: 177.6 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2696, allocations: 0 / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2697, allocations: 0 / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2697, allocations: 0 / 433.8 MB, free: 3.953 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.0004425/0.2701, allocations: 293.9 kB / 434 MB, free: 3.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2701, allocations: 11.98 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.2702, allocations: 34.69 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.2702, allocations: 8.922 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2703, allocations: 114.5 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2703, allocations: 384 / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2704, allocations: 384 / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.2704, allocations: 41.81 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2705, allocations: 0 / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2705, allocations: 0 / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2705, allocations: 4 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.2705, allocations: 8 kB / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.2707, allocations: 132.6 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.2707, allocations: 42.53 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.2708, allocations: 8.859 kB / 434.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2708, allocations: 0 / 434.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2708, allocations: 38.5 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.2708, allocations: 4 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000128/0.2709, allocations: 49.78 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.271, allocations: 55.34 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.2711, allocations: 97.84 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2711, allocations: 29.7 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.2711, allocations: 84.14 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.2712, allocations: 7.906 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2712, allocations: 17.72 kB / 434.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2713, allocations: 318.8 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.2714, allocations: 4 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.2714, allocations: 21.72 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.2714, allocations: 29.7 kB / 435.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2714, allocations: 4 kB / 435.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.892e-05/0.2715, allocations: 61.69 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2715, allocations: 4 kB / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2715, allocations: 4 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2716, allocations: 4 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.2716, allocations: 4 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2716, allocations: 4 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.2717, allocations: 0 / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.2717, allocations: 4.031 kB / 435.3 MB, free: 2.234 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 8.604e-05/0.2717, allocations: 126.3 kB / 435.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.2718, allocations: 7.891 kB / 435.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.2718, allocations: 7.672 kB / 435.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2718, allocations: 4 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2718, allocations: 0 / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2718, allocations: 0 / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.2719, allocations: 120.8 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2719, allocations: 0 / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.272, allocations: 15.92 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.272, allocations: 4 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.272, allocations: 0 / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.272, allocations: 0 / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.272, allocations: 0 / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2721, allocations: 81.48 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.2722, allocations: 3.984 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2722, allocations: 7.969 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.2722, allocations: 3.938 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.2722, allocations: 4.031 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2722, allocations: 0 / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.2723, allocations: 83.28 kB / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2723, allocations: 4.062 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.2725, allocations: 51.86 kB / 435.8 MB, free: 1.645 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.0006908/0.2732, allocations: 0.6708 MB / 436.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.641e-05/0.2733, allocations: 23.92 kB / 436.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2733, allocations: 0 / 436.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.2733, allocations: 4 kB / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.2734, allocations: 4 kB / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2746, allocations: 1.19 MB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.2747, allocations: 67.47 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2748, allocations: 0 / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.2748, allocations: 11.44 kB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2748, allocations: 0 / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.3046, allocations: 2.58 MB / 440.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11, allocations: 10.67 kB / 440.4 MB, free: 13.04 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.383247833233327]