Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 174.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008007/0.0008006, allocations: 89.3 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003583, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 47.58 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0005351/0.2058, allocations: 261.4 kB / 375.4 MB, free: 45.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2074, allocations: 1.452 MB / 376.9 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.2075, allocations: 0 / 376.9 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.2075, allocations: 5.281 kB / 376.9 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.208, allocations: 126.8 kB / 377 MB, free: 44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.994e-05/0.2081, allocations: 9.078 kB / 377 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.86e-05/0.2081, allocations: 13.59 kB / 377 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.2082, allocations: 1.219 kB / 377 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.2082, allocations: 16.3 kB / 377.1 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.2082, allocations: 5.828 kB / 377.1 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2083, allocations: 1.094 kB / 377.1 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.2086, allocations: 227.8 kB / 377.3 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.2086, allocations: 1.406 kB / 377.3 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.2087, allocations: 31.7 kB / 377.3 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.2088, allocations: 125.5 kB / 377.4 MB, free: 43.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2089, allocations: 4 kB / 377.4 MB, free: 43.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2089, allocations: 1.125 kB / 377.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2089, allocations: 0 / 377.5 MB, free: 43.75 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.0003296/0.2092, allocations: 354.5 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2093, allocations: 10.56 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.2093, allocations: 38.73 kB / 377.8 MB, free: 43.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.2093, allocations: 3.062 kB / 377.8 MB, free: 43.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.2094, allocations: 166.7 kB / 378 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2094, allocations: 384 / 378 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.2095, allocations: 1.594 kB / 378 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.502e-05/0.2095, allocations: 46.34 kB / 378.1 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2095, allocations: 0 / 378.1 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.2095, allocations: 1.062 kB / 378.1 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2096, allocations: 0 / 378.1 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.2096, allocations: 5.531 kB / 378.1 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.2097, allocations: 162.4 kB / 378.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.2098, allocations: 37.92 kB / 378.3 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.2098, allocations: 12.2 kB / 378.3 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.2098, allocations: 0 / 378.3 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.2098, allocations: 35.72 kB / 378.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.2098, allocations: 0 / 378.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001213/0.21, allocations: 50.06 kB / 378.4 MB, free: 42.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.21, allocations: 60.48 kB / 378.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.2101, allocations: 99.77 kB / 378.5 MB, free: 42.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.2101, allocations: 25.7 kB / 378.5 MB, free: 42.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.2101, allocations: 89.17 kB / 378.6 MB, free: 42.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2101, allocations: 10.2 kB / 378.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.2101, allocations: 0 / 378.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.2102, allocations: 319.8 kB / 378.9 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.2102, allocations: 8.406 kB / 379 MB, free: 42.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.2102, allocations: 23.11 kB / 379 MB, free: 42.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.2103, allocations: 27.31 kB / 379 MB, free: 42.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2103, allocations: 0 / 379 MB, free: 42.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.599e-05/0.2104, allocations: 70.52 kB / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2104, allocations: 5.875 kB / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2104, allocations: 0 / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2104, allocations: 1.531 kB / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.2105, allocations: 6.188 kB / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2105, allocations: 1.312 kB / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.2105, allocations: 1.281 kB / 379.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2105, allocations: 1 kB / 379.1 MB, free: 42.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.2106, allocations: 120.7 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.2106, allocations: 9.266 kB / 379.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.2106, allocations: 4.688 kB / 379.2 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2106, allocations: 1.312 kB / 379.2 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2107, allocations: 0 / 379.2 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2107, allocations: 0 / 379.2 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.27e-05/0.2107, allocations: 154.6 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2107, allocations: 1.438 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.2108, allocations: 8.938 kB / 379.4 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2108, allocations: 5.031 kB / 379.4 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2108, allocations: 0 / 379.4 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2108, allocations: 1.062 kB / 379.4 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2108, allocations: 128 / 379.4 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.476e-05/0.2109, allocations: 89.39 kB / 379.5 MB, free: 41.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.211, allocations: 82.36 kB / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.211, allocations: 1.156 kB / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.211, allocations: 0 / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.211, allocations: 6.281 kB / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.211, allocations: 0 / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.575e-05/0.2111, allocations: 87.55 kB / 379.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2111, allocations: 0 / 379.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.2114, allocations: 52.73 kB / 379.7 MB, free: 41.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003675/0.2117, allocations: 0.6646 MB / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.2118, allocations: 20.42 kB / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2118, allocations: 0 / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.2118, allocations: 9.094 kB / 380.4 MB, free: 40.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.212, allocations: 5.281 kB / 380.4 MB, free: 40.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.2125, allocations: 449.2 kB / 380.8 MB, free: 40.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2127, allocations: 0.6785 MB / 381.5 MB, free: 39.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.2127, allocations: 13.39 kB / 381.5 MB, free: 39.6 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2127, allocations: 0 / 381.5 MB, free: 39.6 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/2.771, allocations: 1.315 MB / 382.8 MB, free: 38.95 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches