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) 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) 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: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001374, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 57.78 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1269, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001837/0.1287, allocations: 0.5178 MB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1309, allocations: 1.546 MB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.1309, allocations: 0 / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.131, allocations: 4 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007185/0.1317, allocations: 171.4 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.47e-05/0.1317, allocations: 4 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.1318, allocations: 15.92 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1318, allocations: 4 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.1319, allocations: 11.94 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.132, allocations: 11.98 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.132, allocations: 0 / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.1324, allocations: 247.7 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.1324, allocations: 7.938 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.1324, allocations: 3.984 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1327, allocations: 175.7 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1327, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1327, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1327, allocations: 3.938 kB / 361.6 MB, free: 10.62 MB / 302.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.0004325/0.1332, allocations: 371.4 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1332, allocations: 8.031 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1332, allocations: 0.9375 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1334, allocations: 172.3 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1334, allocations: 384 / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1334, allocations: 8.375 kB / 362.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.592e-05/0.1335, allocations: 34.02 kB / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1335, allocations: 0 / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1335, allocations: 0 / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1335, allocations: 3.938 kB / 362.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.1336, allocations: 19.92 kB / 362.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1338, allocations: 161.7 kB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.1339, allocations: 30.61 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.1339, allocations: 8.859 kB / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1339, allocations: 0 / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.134, allocations: 38.5 kB / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.134, allocations: 4 kB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000138/0.1341, allocations: 49.86 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1342, allocations: 51.41 kB / 362.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.1342, allocations: 105.9 kB / 362.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1343, allocations: 29.7 kB / 362.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.1343, allocations: 84.14 kB / 362.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1343, allocations: 11.75 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1344, allocations: 17.72 kB / 362.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1345, allocations: 318.8 kB / 363.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.1345, allocations: 8 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.1346, allocations: 21.72 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.1346, allocations: 29.64 kB / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1346, allocations: 0 / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.495e-05/0.1347, allocations: 53.7 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1347, allocations: 11.92 kB / 363.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1348, allocations: 7.969 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1348, allocations: 0 / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.1349, allocations: 8 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1349, allocations: 128 / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.1349, allocations: 8 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1349, allocations: 0 / 363.2 MB, free: 8.75 MB / 302.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 7.529e-05/0.135, allocations: 109.8 kB / 363.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.135, allocations: 11.84 kB / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.135, allocations: 11.48 kB / 363.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1351, allocations: 4 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1351, allocations: 3.938 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1351, allocations: 0 / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1352, allocations: 157.7 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1352, allocations: 0 / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1353, allocations: 7.938 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1353, allocations: 3.938 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1353, allocations: 4 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1353, allocations: 0 / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1353, allocations: 0 / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1354, allocations: 85.05 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.1355, allocations: 81.05 kB / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1355, allocations: 0 / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.1355, allocations: 4.031 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1355, allocations: 0 / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1356, allocations: 0 / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.553e-05/0.1356, allocations: 87.27 kB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 0 / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1359, allocations: 56.06 kB / 363.9 MB, free: 8.031 MB / 302.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.0002453/0.1361, allocations: 151.2 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.1362, allocations: 20.34 kB / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1362, allocations: 0 / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.1362, allocations: 12 kB / 364 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1364, allocations: 0 / 364 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.1366, allocations: 126.1 kB / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1369, allocations: 0.6807 MB / 364.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.137, allocations: 11.97 kB / 364.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.1371, allocations: 7.438 kB / 364.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1371, allocations: 0 / 364.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of Templates: time 0.003732/0.1408, allocations: 1.123 MB / 366 MB, free: 5.848 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (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 & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches