Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 94.89 kB / 16.94 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 188.1 kB / 17.84 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 224 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 12 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 47.58 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0008809/0.1134, allocations: 253.2 kB / 328.6 MB, free: 3.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.1161, allocations: 1.45 MB / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1161, allocations: 0 / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.1162, allocations: 0 / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.1168, allocations: 135.7 kB / 330.2 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.627e-05/0.1169, allocations: 4 kB / 330.2 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.1169, allocations: 7.984 kB / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.117, allocations: 4 kB / 330.2 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.117, allocations: 11.94 kB / 330.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.1171, allocations: 11.91 kB / 330.2 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1171, allocations: 4 kB / 330.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1175, allocations: 231.7 kB / 330.4 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1175, allocations: 3.938 kB / 330.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.1176, allocations: 25.7 kB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1178, allocations: 127.8 kB / 330.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1178, allocations: 0 / 330.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1178, allocations: 0 / 330.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1179, allocations: 0 / 330.6 MB, free: 1.805 MB / 270.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.0006504/0.1185, allocations: 351.5 kB / 330.9 MB, free: 1.414 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1186, allocations: 8.031 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1186, allocations: 4 kB / 331 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1188, allocations: 167.1 kB / 331.1 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1188, allocations: 7.953 kB / 331.1 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1188, allocations: 4 kB / 331.1 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.505e-05/0.1189, allocations: 41.58 kB / 331.2 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1189, allocations: 0 / 331.2 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.119, allocations: 7.984 kB / 331.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.119, allocations: 0 / 331.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.119, allocations: 4 kB / 331.2 MB, free: 1.129 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.1192, allocations: 153.7 kB / 331.3 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.1193, allocations: 38.55 kB / 331.4 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.1194, allocations: 20.81 kB / 331.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1194, allocations: 0 / 331.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1194, allocations: 30.56 kB / 331.4 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1194, allocations: 0 / 331.4 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002192/0.1196, allocations: 49.69 kB / 331.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1197, allocations: 55.41 kB / 331.5 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.1198, allocations: 101.8 kB / 331.6 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1198, allocations: 29.7 kB / 331.7 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.1199, allocations: 80.14 kB / 331.7 MB, free: 484 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.12, allocations: 11.91 kB / 331.7 MB, free: 472 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.12, allocations: 3.938 kB / 331.7 MB, free: 468 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1201, allocations: 318.8 kB / 332.1 MB, free: 140 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.1202, allocations: 8 kB / 332.1 MB, free: 132 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.1202, allocations: 13.72 kB / 332.1 MB, free: 112 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.1202, allocations: 16.38 kB / 332.1 MB, free: 96 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1202, allocations: 0 / 332.1 MB, free: 96 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.881e-05/0.1203, allocations: 69.47 kB / 332.2 MB, free: 20 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1204, allocations: 4 kB / 332.2 MB, free: 16 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1204, allocations: 4 kB / 332.2 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1204, allocations: 0 / 332.2 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.1205, allocations: 11.98 kB / 332.2 MB, free: 0 / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1205, allocations: 0 / 332.2 MB, free: 0 / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.1205, allocations: 0 / 332.2 MB, free: 0 / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.1205, allocations: 0 / 332.2 MB, free: 0 / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.145e-05/0.1206, allocations: 117.8 kB / 332.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1207, allocations: 7.953 kB / 332.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.1207, allocations: 3.5 kB / 332.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1207, allocations: 4 kB / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1207, allocations: 0 / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1207, allocations: 0 / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.1208, allocations: 153.7 kB / 332.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1208, allocations: 0 / 332.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.1209, allocations: 11.98 kB / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1209, allocations: 0 / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1209, allocations: 7.953 kB / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.121, allocations: 7.875 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.121, allocations: 0 / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1211, allocations: 77.03 kB / 332.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.1211, allocations: 81.14 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1212, allocations: 4.109 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.1212, allocations: 7.953 kB / 332.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1212, allocations: 0 / 332.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.1212, allocations: 8.062 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.121e-05/0.1213, allocations: 83.28 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1213, allocations: 0 / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1216, allocations: 51.98 kB / 332.8 MB, free: 15.28 MB / 286.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 (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.0002536/0.1218, allocations: 151.2 kB / 332.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.1219, allocations: 19.92 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1219, allocations: 0 / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.122, allocations: 8 kB / 333 MB, free: 15.1 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.1221, allocations: 12 kB / 333 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.1224, allocations: 130.9 kB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1227, allocations: 0.677 MB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.1228, allocations: 11.92 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.1228, allocations: 7.438 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1228, allocations: 0 / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of Templates: time 0.003612/0.1264, allocations: 1.066 MB / 334.9 MB, free: 13.14 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches