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.001627/0.001627, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 59.97 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 50.55 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001834/0.108, allocations: 0.5182 MB / 358 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.11, allocations: 1.546 MB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.11, allocations: 0 / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.11, allocations: 0 / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006417/0.1107, allocations: 179.4 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.802e-05/0.1107, allocations: 7.938 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.1108, allocations: 11.98 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.1108, allocations: 8 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.1109, allocations: 11.88 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.1109, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.111, allocations: 7.984 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.1113, allocations: 239.7 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1114, allocations: 7.875 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1114, allocations: 15.98 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1117, allocations: 167.7 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1117, allocations: 0 / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1117, allocations: 0 / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1117, allocations: 4 kB / 360.2 MB, free: 11.33 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.0005053/0.1122, allocations: 359.7 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1123, allocations: 12.03 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1123, allocations: 0.9375 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1125, allocations: 180.2 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1125, allocations: 384 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1125, allocations: 384 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.901e-05/0.1126, allocations: 38.02 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1126, allocations: 0 / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1127, allocations: 4 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1127, allocations: 7.938 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.1127, allocations: 11.92 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.1129, allocations: 153.7 kB / 361 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.113, allocations: 30.67 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.113, allocations: 16.84 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.113, allocations: 3.984 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1131, allocations: 38.5 kB / 361.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.765e-06/0.1131, allocations: 0 / 361.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.1132, allocations: 49.62 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1133, allocations: 55.41 kB / 361.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.1134, allocations: 101.8 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1134, allocations: 25.7 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.1134, allocations: 80.14 kB / 361.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1135, allocations: 19.75 kB / 361.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1135, allocations: 17.72 kB / 361.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1136, allocations: 318.8 kB / 361.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.1137, allocations: 4 kB / 361.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.1137, allocations: 17.72 kB / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.1138, allocations: 33.64 kB / 361.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1138, allocations: 0 / 361.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.919e-05/0.1139, allocations: 57.64 kB / 361.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1139, allocations: 11.94 kB / 361.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1139, allocations: 3.984 kB / 361.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1139, allocations: 128 / 361.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.114, allocations: 12 kB / 361.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.114, allocations: 0 / 361.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.114, allocations: 0 / 361.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.114, allocations: 4 kB / 361.9 MB, free: 9.465 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.715e-05/0.1141, allocations: 109.8 kB / 362 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.1141, allocations: 11.88 kB / 362 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1142, allocations: 7.5 kB / 362 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1142, allocations: 0 / 362 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1142, allocations: 3.984 kB / 362 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1142, allocations: 0 / 362 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1143, allocations: 157.7 kB / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1143, allocations: 0 / 362.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.1144, allocations: 15.88 kB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1144, allocations: 3.938 kB / 362.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1144, allocations: 3.938 kB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1144, allocations: 0 / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1145, allocations: 7.984 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1146, allocations: 77.16 kB / 362.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1146, allocations: 85.03 kB / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1147, allocations: 0 / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.1147, allocations: 0 / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.1147, allocations: 480 / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.1147, allocations: 4 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.1148, allocations: 91.33 kB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1148, allocations: 0 / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.115, allocations: 51.98 kB / 362.5 MB, free: 8.742 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.0002698/0.1153, allocations: 155.2 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.588e-05/0.1154, allocations: 19.94 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1154, allocations: 0 / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.1154, allocations: 7.984 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1156, allocations: 10.97 kB / 362.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.1159, allocations: 133.9 kB / 362.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1162, allocations: 0.6807 MB / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.31e-05/0.1163, allocations: 4 kB / 363.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1163, allocations: 11.42 kB / 363.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1163, allocations: 0 / 363.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of Templates: time 0.003708/0.12, allocations: 1.111 MB / 364.6 MB, free: 6.559 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches