Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_cpp_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009584/0.0009586, allocations: 200.6 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 226.5 MB / 244.7 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007372/0.0007376, allocations: 102.6 kB / 296.7 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002067/0.0002068, allocations: 4 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1788, allocations: 51.3 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0004391/0.1793, allocations: 255.8 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1805, allocations: 1.468 MB / 409.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1805, allocations: 0 / 409.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.275e-06/0.1805, allocations: 0.5312 kB / 409.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1809, allocations: 131.4 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.514e-05/0.181, allocations: 3.938 kB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.328e-05/0.181, allocations: 11.98 kB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.09e-05/0.181, allocations: 4 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.1811, allocations: 11.92 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.1811, allocations: 0 / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.1811, allocations: 0.8125 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.1814, allocations: 235.7 kB / 410.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1814, allocations: 13.86 kB / 410.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.1814, allocations: 29.7 kB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1816, allocations: 123.8 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1816, allocations: 0 / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1816, allocations: 0 / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1816, allocations: 0.5312 kB / 410.4 MB, free: 25.38 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.0002627/0.1819, allocations: 360.7 kB / 410.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1819, allocations: 11.97 kB / 410.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.928e-05/0.1819, allocations: 32.66 kB / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.683e-05/0.182, allocations: 4.938 kB / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.182, allocations: 165.6 kB / 411 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.1821, allocations: 384 / 411 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1821, allocations: 4.375 kB / 411 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.696e-05/0.1821, allocations: 44.03 kB / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1822, allocations: 0 / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.1822, allocations: 0 / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1822, allocations: 0 / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.1822, allocations: 4 kB / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.1823, allocations: 172.5 kB / 411.2 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.1824, allocations: 30.61 kB / 411.2 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.1824, allocations: 12.86 kB / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1824, allocations: 0 / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1824, allocations: 38.5 kB / 411.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1824, allocations: 4 kB / 411.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001/0.1825, allocations: 53.84 kB / 411.3 MB, free: 24.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.1826, allocations: 51.41 kB / 411.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/0.1826, allocations: 101.8 kB / 411.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.1826, allocations: 29.7 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.422e-05/0.1826, allocations: 80.14 kB / 411.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1827, allocations: 11.84 kB / 411.6 MB, free: 24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1827, allocations: 0 / 411.6 MB, free: 24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.1827, allocations: 326.8 kB / 411.9 MB, free: 23.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.1827, allocations: 0 / 411.9 MB, free: 23.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.1827, allocations: 21.72 kB / 411.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.1828, allocations: 29.64 kB / 412 MB, free: 23.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1828, allocations: 0 / 412 MB, free: 23.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.275e-05/0.1829, allocations: 65.53 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.1829, allocations: 4 kB / 412 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1829, allocations: 8.094 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1829, allocations: 4 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.183, allocations: 11.94 kB / 412.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.183, allocations: 0 / 412.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.183, allocations: 4 kB / 412.1 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.183, allocations: 0 / 412.1 MB, free: 23.5 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 3.579e-05/0.183, allocations: 113.8 kB / 412.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.1831, allocations: 7.938 kB / 412.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.1831, allocations: 7.484 kB / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1831, allocations: 4 kB / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1831, allocations: 0 / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1831, allocations: 0 / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.417e-05/0.1832, allocations: 161.7 kB / 412.3 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1832, allocations: 0 / 412.3 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1832, allocations: 7.938 kB / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1832, allocations: 0 / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.1832, allocations: 0 / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1832, allocations: 4 kB / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1833, allocations: 0 / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.1833, allocations: 88.95 kB / 412.4 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.1834, allocations: 81.05 kB / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.1834, allocations: 0 / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.1834, allocations: 4.031 kB / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.1834, allocations: 0 / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1834, allocations: 0 / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.1835, allocations: 87.27 kB / 412.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1835, allocations: 0 / 412.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.1837, allocations: 52.06 kB / 412.7 MB, free: 22.79 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.0003044/0.184, allocations: 0.6713 MB / 413.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.876e-05/0.1841, allocations: 24.02 kB / 413.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1841, allocations: 3.938 kB / 413.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.1841, allocations: 8 kB / 413.4 MB, free: 22.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.1842, allocations: 12 kB / 413.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.1846, allocations: 439.1 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.021e-05/0.1847, allocations: 0.6809 MB / 414.5 MB, free: 20.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.1847, allocations: 11.44 kB / 414.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1847, allocations: 0 / 414.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.594/2.779, allocations: 1.383 MB / 415.9 MB, free: 19.46 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches