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: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.525/1.525, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0008094/0.0008094, allocations: 94.41 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 15.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2115, allocations: 47.57 MB / 375.1 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0005753/0.2121, allocations: 260.5 kB / 375.3 MB, free: 45.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2137, allocations: 1.449 MB / 376.8 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.2137, allocations: 0 / 376.8 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-06/0.2137, allocations: 0 / 376.8 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.2142, allocations: 134.7 kB / 376.9 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.803e-05/0.2142, allocations: 1.281 kB / 376.9 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.2143, allocations: 22.42 kB / 376.9 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.2143, allocations: 1 kB / 376.9 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.2144, allocations: 4.062 kB / 376.9 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.2144, allocations: 10.48 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.2144, allocations: 1.344 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.2147, allocations: 227 kB / 377.2 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2148, allocations: 9.047 kB / 377.2 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.2148, allocations: 35.89 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.215, allocations: 117.4 kB / 377.3 MB, free: 43.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.215, allocations: 1 kB / 377.3 MB, free: 43.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.215, allocations: 0 / 377.3 MB, free: 43.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.215, allocations: 0 / 377.3 MB, free: 43.71 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.0004037/0.2154, allocations: 354.8 kB / 377.7 MB, free: 43.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2155, allocations: 8.719 kB / 377.7 MB, free: 43.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.2155, allocations: 5.875 kB / 377.7 MB, free: 43.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2156, allocations: 168.5 kB / 377.9 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2157, allocations: 5.438 kB / 377.9 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2157, allocations: 5.438 kB / 377.9 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.667e-05/0.2158, allocations: 37.48 kB / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2158, allocations: 1.156 kB / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2158, allocations: 0 / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2158, allocations: 1.094 kB / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.2159, allocations: 12.8 kB / 377.9 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.216, allocations: 158.7 kB / 378.1 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.2161, allocations: 37.23 kB / 378.1 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.2161, allocations: 8.922 kB / 378.1 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2161, allocations: 3.938 kB / 378.1 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.2161, allocations: 35.97 kB / 378.2 MB, free: 42.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2162, allocations: 0 / 378.2 MB, free: 42.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001338/0.2163, allocations: 49.38 kB / 378.2 MB, free: 42.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.2163, allocations: 52.44 kB / 378.3 MB, free: 42.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.938e-05/0.2164, allocations: 112.4 kB / 378.4 MB, free: 42.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.2164, allocations: 25.7 kB / 378.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.2164, allocations: 85.27 kB / 378.5 MB, free: 42.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2165, allocations: 9.25 kB / 378.5 MB, free: 42.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.2165, allocations: 0.9375 kB / 378.5 MB, free: 42.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.2165, allocations: 315.8 kB / 378.8 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.2165, allocations: 8.047 kB / 378.8 MB, free: 42.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.2166, allocations: 27.09 kB / 378.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.2166, allocations: 27.03 kB / 378.9 MB, free: 42.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2166, allocations: 0 / 378.9 MB, free: 42.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.585e-05/0.2167, allocations: 62.59 kB / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2167, allocations: 9.594 kB / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2167, allocations: 0 / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2168, allocations: 1.094 kB / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.2168, allocations: 10.92 kB / 378.9 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2168, allocations: 1.156 kB / 378.9 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.2169, allocations: 5.281 kB / 379 MB, free: 42.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2169, allocations: 1.125 kB / 379 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.483e-05/0.2169, allocations: 111.8 kB / 379.1 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.217, allocations: 5.094 kB / 379.1 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.217, allocations: 4.656 kB / 379.1 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.217, allocations: 1 kB / 379.1 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.217, allocations: 0 / 379.1 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.217, allocations: 1.219 kB / 379.1 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.2171, allocations: 158.4 kB / 379.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2171, allocations: 4 kB / 379.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.2172, allocations: 13.64 kB / 379.2 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2172, allocations: 5.094 kB / 379.3 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2172, allocations: 0 / 379.3 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2172, allocations: 1 kB / 379.3 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2172, allocations: 0 / 379.3 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2173, allocations: 77.88 kB / 379.3 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2174, allocations: 86.25 kB / 379.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2174, allocations: 5.125 kB / 379.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.2174, allocations: 0 / 379.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.2174, allocations: 2.188 kB / 379.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.2174, allocations: 4 kB / 379.4 MB, free: 41.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.2175, allocations: 79.59 kB / 379.5 MB, free: 41.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.2175, allocations: 0 / 379.5 MB, free: 41.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.2177, allocations: 52.14 kB / 379.6 MB, free: 41.39 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.0002508/0.218, allocations: 152.1 kB / 379.7 MB, free: 41.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.724e-05/0.2181, allocations: 24.02 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2181, allocations: 0 / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.2181, allocations: 6.891 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2183, allocations: 7.891 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.2185, allocations: 166 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2187, allocations: 0.6784 MB / 380.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.2187, allocations: 9.938 kB / 380.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2187, allocations: 4 kB / 380.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of Templates: time 0.002766/0.2215, allocations: 1.136 MB / 381.7 MB, free: 39.81 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 --alarm=480 -emit_protected > 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/jenkins/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