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.0008627/0.0008624, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.001062/0.001063, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.607/1.607, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0006351/0.0006351, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1171, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007295/0.1179, allocations: 265.1 kB / 329.2 MB, free: 3.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.12, allocations: 1.543 MB / 330.8 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.1201, allocations: 0 / 330.8 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1201, allocations: 0 / 330.8 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.1206, allocations: 131.7 kB / 330.9 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.845e-05/0.1207, allocations: 0 / 330.9 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.1207, allocations: 23.91 kB / 330.9 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.1208, allocations: 4 kB / 330.9 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.1209, allocations: 7.938 kB / 330.9 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.1209, allocations: 7.938 kB / 330.9 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1209, allocations: 0 / 330.9 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.1213, allocations: 243.7 kB / 331.2 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1214, allocations: 0 / 331.2 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.1214, allocations: 33.62 kB / 331.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1217, allocations: 171.8 kB / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1217, allocations: 0 / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1217, allocations: 3.938 kB / 331.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1217, allocations: 4 kB / 331.4 MB, free: 1.32 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.0005316/0.1222, allocations: 355.7 kB / 331.7 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1223, allocations: 16.02 kB / 331.7 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1223, allocations: 0.9375 kB / 331.7 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1225, allocations: 168.4 kB / 331.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1225, allocations: 384 / 331.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.1225, allocations: 384 / 331.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.455e-05/0.1226, allocations: 38 kB / 331.9 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1226, allocations: 7.938 kB / 331.9 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1227, allocations: 8 kB / 332 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1227, allocations: 3.984 kB / 332 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.1227, allocations: 7.984 kB / 332 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.1229, allocations: 153.7 kB / 332.1 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.123, allocations: 34.61 kB / 332.1 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.123, allocations: 8.859 kB / 332.2 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.123, allocations: 4 kB / 332.2 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.123, allocations: 42.44 kB / 332.2 MB, free: 336 kB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.123, allocations: 0 / 332.2 MB, free: 336 kB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001327/0.1232, allocations: 49.69 kB / 332.3 MB, free: 280 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1232, allocations: 59.39 kB / 332.3 MB, free: 208 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.1233, allocations: 97.86 kB / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1233, allocations: 25.7 kB / 332.4 MB, free: 68 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.1234, allocations: 80.14 kB / 332.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1235, allocations: 19.89 kB / 332.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.1235, allocations: 9.719 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1236, allocations: 310.8 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.1236, allocations: 8 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.1237, allocations: 25.64 kB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.1237, allocations: 25.72 kB / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1237, allocations: 0 / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.1239, allocations: 65.53 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.124, allocations: 10.59 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.124, allocations: 0 / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.124, allocations: 0 / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.1241, allocations: 15.94 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1241, allocations: 0 / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.1241, allocations: 4 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1241, allocations: 0 / 333 MB, free: 15.47 MB / 286.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.352e-05/0.1242, allocations: 117.8 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.1242, allocations: 7.969 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.1243, allocations: 7.5 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1243, allocations: 3.938 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1243, allocations: 0 / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1243, allocations: 0 / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1244, allocations: 157.7 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1244, allocations: 0 / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.1245, allocations: 7.938 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.1245, allocations: 4.359 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1245, allocations: 4 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1245, allocations: 7.984 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1245, allocations: 3.984 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1247, allocations: 81.02 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.1247, allocations: 81.05 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1247, allocations: 4.031 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.1247, allocations: 0 / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.1248, allocations: 3.984 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.1248, allocations: 0 / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.1248, allocations: 87.34 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1248, allocations: 0 / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1251, allocations: 51.98 kB / 333.6 MB, free: 14.75 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 (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.0002575/0.1254, allocations: 151.2 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.1255, allocations: 19.98 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1255, allocations: 0 / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.1255, allocations: 8 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1257, allocations: 0 / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.1259, allocations: 154.7 kB / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1263, allocations: 0.677 MB / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.1264, allocations: 4.125 kB / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.1264, allocations: 7.438 kB / 334.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1264, allocations: 0 / 334.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of Templates: time 0.00354/0.1299, allocations: 1.058 MB / 335.7 MB, free: 12.61 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