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.001131/0.001131, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001298/0.001298, allocations: 193.3 kB / 19.33 MB, free: 3.781 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.48/1.48, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001368/0.001368, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.09495, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001998/0.09699, allocations: 0.5382 MB / 376.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.09937, allocations: 1.518 MB / 377.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.09943, allocations: 0 / 377.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.0995, allocations: 3.938 kB / 377.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008367/0.1003, allocations: 171.4 kB / 378 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.939e-05/0.1004, allocations: 4 kB / 378 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.1005, allocations: 11.98 kB / 378.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1005, allocations: 0 / 378.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.1006, allocations: 19.88 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.1007, allocations: 15.91 kB / 378.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1007, allocations: 0 / 378.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.1012, allocations: 243.7 kB / 378.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1012, allocations: 3.984 kB / 378.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1013, allocations: 7.938 kB / 378.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.1017, allocations: 163.8 kB / 378.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1017, allocations: 0 / 378.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1017, allocations: 0 / 378.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1017, allocations: 0 / 378.5 MB, free: 1.883 MB / 318.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.0005657/0.1023, allocations: 367.4 kB / 378.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1023, allocations: 12.03 kB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1024, allocations: 4.844 kB / 378.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1026, allocations: 168.4 kB / 379 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1026, allocations: 4.312 kB / 379 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1026, allocations: 384 / 379 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1028, allocations: 41.95 kB / 379.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1028, allocations: 0 / 379.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1028, allocations: 7.984 kB / 379.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1028, allocations: 7.984 kB / 379.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.1029, allocations: 4 kB / 379.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.1031, allocations: 153.7 kB / 379.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/0.1032, allocations: 34.61 kB / 379.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.1032, allocations: 12.86 kB / 379.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1032, allocations: 3.938 kB / 379.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1033, allocations: 38.5 kB / 379.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1033, allocations: 0 / 379.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001571/0.1034, allocations: 49.69 kB / 379.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1035, allocations: 55.41 kB / 379.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.1036, allocations: 101.8 kB / 379.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1036, allocations: 25.7 kB / 379.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.1037, allocations: 80.14 kB / 379.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.1037, allocations: 15.84 kB / 379.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1038, allocations: 25.72 kB / 379.7 MB, free: 500 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1039, allocations: 314.8 kB / 380 MB, free: 176 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.1039, allocations: 4 kB / 380 MB, free: 172 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.104, allocations: 21.66 kB / 380 MB, free: 144 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.104, allocations: 33.7 kB / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.104, allocations: 0 / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.123e-05/0.1041, allocations: 57.56 kB / 380.1 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1041, allocations: 15.94 kB / 380.1 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1041, allocations: 0 / 380.1 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1042, allocations: 0 / 380.1 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1043, allocations: 8 kB / 380.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1043, allocations: 0 / 380.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.1043, allocations: 128 / 380.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1043, allocations: 11.94 kB / 380.1 MB, free: 4 kB / 318.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 0.1925/0.2969, allocations: 108.7 kB / 380.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.2969, allocations: 2.688 kB / 380.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.297, allocations: 7.094 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.297, allocations: 0.9688 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.297, allocations: 2.094 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.297, allocations: 0.9688 kB / 380.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2971, allocations: 165.5 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2971, allocations: 0.5625 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.2972, allocations: 11.19 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2973, allocations: 2.625 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2973, allocations: 3.844 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2973, allocations: 1.344 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2973, allocations: 0.7969 kB / 380.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.2975, allocations: 77.97 kB / 380.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.2975, allocations: 81.41 kB / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2975, allocations: 1.812 kB / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.2975, allocations: 0 / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.2976, allocations: 13.7 kB / 380.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2976, allocations: 0 / 380.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.2976, allocations: 84.45 kB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2976, allocations: 1.25 kB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.298, allocations: 45.48 kB / 380.7 MB, free: 12.43 MB / 318.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.0002619/0.2983, allocations: 152.1 kB / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.986e-05/0.2984, allocations: 23.78 kB / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2984, allocations: 0 / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.2984, allocations: 9.547 kB / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.2986, allocations: 8.328 kB / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.2989, allocations: 150.1 kB / 381.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.299, allocations: 0.6784 MB / 381.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.299, allocations: 9.594 kB / 381.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.299, allocations: 4.938 kB / 381.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of Templates: time 0.003428/0.3024, allocations: 1.145 MB / 382.9 MB, free: 11.46 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches