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.001447/0.001447, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001606/0.001606, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.34/1.34, allocations: 230.5 MB / 258.2 MB, free: 7.816 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 63.89 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2249, allocations: 53.39 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001553/0.2265, allocations: 0.52 MB / 432.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.2283, allocations: 1.473 MB / 433.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.2283, allocations: 4 kB / 433.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.2283, allocations: 0 / 433.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.2289, allocations: 177.5 kB / 434.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.989e-05/0.2289, allocations: 3.938 kB / 434.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.739e-05/0.229, allocations: 15.98 kB / 434.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.229, allocations: 0 / 434.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.229, allocations: 19.86 kB / 434.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.2291, allocations: 11.92 kB / 434.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2291, allocations: 0 / 434.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.2294, allocations: 243.8 kB / 434.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.2295, allocations: 4 kB / 434.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.2295, allocations: 11.92 kB / 434.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.2297, allocations: 175.5 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2297, allocations: 0 / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2297, allocations: 0 / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2297, allocations: 0 / 434.5 MB, free: 3.832 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.0003819/0.2301, allocations: 301.9 kB / 434.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2302, allocations: 8.031 kB / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.324e-05/0.2302, allocations: 192 / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.2302, allocations: 34.75 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.2302, allocations: 0.9375 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2303, allocations: 114.5 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2303, allocations: 4.312 kB / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2304, allocations: 4.375 kB / 435 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.2304, allocations: 37.58 kB / 435 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2304, allocations: 4 kB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.2304, allocations: 0 / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2305, allocations: 7.984 kB / 435 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.2305, allocations: 8 kB / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2306, allocations: 136.7 kB / 435.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.2307, allocations: 26.58 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.2307, allocations: 12.94 kB / 435.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.2307, allocations: 3.938 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2308, allocations: 38.5 kB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2308, allocations: 0 / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001256/0.2309, allocations: 45.69 kB / 435.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2309, allocations: 51.41 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.231, allocations: 105.9 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.231, allocations: 25.7 kB / 435.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.2311, allocations: 88.12 kB / 435.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2311, allocations: 7.906 kB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.2312, allocations: 17.72 kB / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2313, allocations: 314.8 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.2313, allocations: 11.98 kB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.2314, allocations: 17.66 kB / 435.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.2314, allocations: 29.72 kB / 436 MB, free: 2.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2314, allocations: 128 / 436 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.683e-05/0.2315, allocations: 65.56 kB / 436 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2315, allocations: 6.656 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2315, allocations: 4 kB / 436 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2315, allocations: 0 / 436 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.2316, allocations: 15.98 kB / 436.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2316, allocations: 3.984 kB / 436.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.2316, allocations: 3.938 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2316, allocations: 7.938 kB / 436.1 MB, free: 2.098 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 6.931e-05/0.2317, allocations: 105.8 kB / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.2317, allocations: 7.891 kB / 436.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2317, allocations: 15.72 kB / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2317, allocations: 3.938 kB / 436.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2317, allocations: 0 / 436.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2318, allocations: 0 / 436.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2319, allocations: 124.8 kB / 436.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2319, allocations: 7.938 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.2319, allocations: 7.938 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2319, allocations: 0 / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2319, allocations: 3.984 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2319, allocations: 0 / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2319, allocations: 0 / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.232, allocations: 85.53 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.2321, allocations: 3.938 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2321, allocations: 32 / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.2321, allocations: 4 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.2321, allocations: 3.984 kB / 436.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2321, allocations: 0 / 436.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.2321, allocations: 83.28 kB / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2321, allocations: 0 / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.2324, allocations: 55.86 kB / 436.6 MB, free: 1.52 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.000523/0.2329, allocations: 0.667 MB / 437.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.233, allocations: 19.94 kB / 437.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.233, allocations: 0 / 437.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.233, allocations: 15.98 kB / 437.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.2331, allocations: 2.75 kB / 437.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2343, allocations: 1.186 MB / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.2343, allocations: 59.34 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.2344, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.2344, allocations: 27.38 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2344, allocations: 0 / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2566, allocations: 2.232 MB / 440.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.62, allocations: 7.844 kB / 440.8 MB, free: 13.27 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: 12.93431647401303]