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.0008963/0.0008963, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.431/1.431, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009257/0.0009257, allocations: 92.86 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2336, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0005704/0.2342, allocations: 262.6 kB / 374.8 MB, free: 45.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2357, allocations: 1.443 MB / 376.3 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.2358, allocations: 4 kB / 376.3 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.2358, allocations: 0 / 376.3 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.2363, allocations: 123.3 kB / 376.4 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.784e-05/0.2363, allocations: 5.016 kB / 376.4 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.2363, allocations: 13.91 kB / 376.4 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.2364, allocations: 1.125 kB / 376.4 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.2364, allocations: 16.05 kB / 376.4 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.2365, allocations: 7.141 kB / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2365, allocations: 0 / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.2368, allocations: 231.8 kB / 376.6 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.2369, allocations: 5.25 kB / 376.7 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.2369, allocations: 27.02 kB / 376.7 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.2371, allocations: 125.8 kB / 376.8 MB, free: 43.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2371, allocations: 0 / 376.8 MB, free: 43.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2371, allocations: 0 / 376.8 MB, free: 43.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.2371, allocations: 1.062 kB / 376.8 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.0003234/0.2374, allocations: 349.7 kB / 377.1 MB, free: 43.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2375, allocations: 8.562 kB / 377.2 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.2375, allocations: 13.97 kB / 377.2 MB, free: 43.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.2376, allocations: 165.8 kB / 377.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2377, allocations: 5.078 kB / 377.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2377, allocations: 1.25 kB / 377.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.958e-05/0.2378, allocations: 37.69 kB / 377.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2378, allocations: 5.281 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2378, allocations: 0 / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2378, allocations: 5.812 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.2378, allocations: 3.875 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.238, allocations: 162.5 kB / 377.5 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.238, allocations: 33.98 kB / 377.6 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.2381, allocations: 12.38 kB / 377.6 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.2381, allocations: 0 / 377.6 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.2381, allocations: 39.56 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2381, allocations: 0 / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001279/0.2382, allocations: 46.56 kB / 377.7 MB, free: 42.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.2383, allocations: 52.53 kB / 377.7 MB, free: 42.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.2383, allocations: 107.8 kB / 377.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2384, allocations: 25.7 kB / 377.9 MB, free: 42.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.2384, allocations: 85.45 kB / 377.9 MB, free: 42.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.2384, allocations: 8.875 kB / 377.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2384, allocations: 0 / 377.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.2385, allocations: 324.7 kB / 378.3 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.2385, allocations: 3.469 kB / 378.3 MB, free: 42.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.2385, allocations: 26.69 kB / 378.3 MB, free: 42.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.2386, allocations: 13.36 kB / 378.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2386, allocations: 0 / 378.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.138e-05/0.2387, allocations: 50.66 kB / 378.4 MB, free: 42.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2387, allocations: 9.016 kB / 378.4 MB, free: 42.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2387, allocations: 5.062 kB / 378.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2387, allocations: 1.031 kB / 378.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.2388, allocations: 11.53 kB / 378.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2388, allocations: 0 / 378.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.2388, allocations: 5.094 kB / 378.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.2388, allocations: 2.062 kB / 378.4 MB, free: 42.07 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.711e-05/0.2389, allocations: 111 kB / 378.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.2389, allocations: 6.016 kB / 378.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.2389, allocations: 8.641 kB / 378.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2389, allocations: 4 kB / 378.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2389, allocations: 1.188 kB / 378.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2389, allocations: 0 / 378.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.545e-05/0.239, allocations: 155.1 kB / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.239, allocations: 3.938 kB / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.2391, allocations: 6.281 kB / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2391, allocations: 0 / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2391, allocations: 4.984 kB / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2391, allocations: 0 / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2391, allocations: 1.062 kB / 378.7 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2392, allocations: 84.89 kB / 378.8 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.2393, allocations: 83.27 kB / 378.8 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2393, allocations: 4 kB / 378.9 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.2393, allocations: 9.016 kB / 378.9 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.2393, allocations: 1.125 kB / 378.9 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2393, allocations: 1.25 kB / 378.9 MB, free: 41.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.2394, allocations: 82.95 kB / 378.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2394, allocations: 0 / 378.9 MB, free: 41.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.2396, allocations: 57.12 kB / 379 MB, free: 41.44 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.0002159/0.2399, allocations: 150.9 kB / 379.1 MB, free: 41.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.2399, allocations: 20.62 kB / 379.2 MB, free: 41.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.24, allocations: 0 / 379.2 MB, free: 41.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.24, allocations: 9.359 kB / 379.2 MB, free: 41.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.2401, allocations: 1.031 kB / 379.2 MB, free: 41.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.2404, allocations: 159 kB / 379.3 MB, free: 41.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2405, allocations: 0.6793 MB / 380 MB, free: 40.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.2405, allocations: 8.562 kB / 380 MB, free: 40.45 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2405, allocations: 1.156 kB / 380 MB, free: 40.45 MB / 298.7 MB Notification: Performance of Templates: time 0.002431/0.2429, allocations: 1.133 MB / 381.2 MB, free: 39.88 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