Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006989/0.000699, allocations: 89.48 kB / 16.65 MB, free: 6.535 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.0007675/0.0007676, allocations: 172.7 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002303/0.0002302, allocations: 8 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08135/0.0816, allocations: 50.42 MB / 352 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00064/0.08227, allocations: 254 kB / 352.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.08425, allocations: 1.51 MB / 353.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.0843, allocations: 0 / 353.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.08432, allocations: 0 / 353.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000514/0.08484, allocations: 131.7 kB / 353.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.026e-05/0.08487, allocations: 0 / 353.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.08492, allocations: 15.94 kB / 353.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.08497, allocations: 0 / 353.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.08501, allocations: 7.984 kB / 353.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.08506, allocations: 7.938 kB / 353.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.08508, allocations: 0 / 353.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.08547, allocations: 251.7 kB / 354.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.08549, allocations: 0 / 354.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.08552, allocations: 33.64 kB / 354.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.0858, allocations: 175.7 kB / 354.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.08581, allocations: 3.984 kB / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.08582, allocations: 0 / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.08583, allocations: 0 / 354.3 MB, free: 0.9609 MB / 286.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.0003715/0.0862, allocations: 355.8 kB / 354.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.08625, allocations: 8.031 kB / 354.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.08629, allocations: 30.75 kB / 354.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.08632, allocations: 0.9375 kB / 354.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.08645, allocations: 172.3 kB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.08647, allocations: 4.375 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.08649, allocations: 8.281 kB / 354.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.151e-05/0.08657, allocations: 41.81 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.08658, allocations: 0 / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.08659, allocations: 0 / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.0866, allocations: 3.938 kB / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.08664, allocations: 7.938 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.08679, allocations: 157.7 kB / 355.1 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.08687, allocations: 34.61 kB / 355.1 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.0869, allocations: 12.86 kB / 355.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.08691, allocations: 0 / 355.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.08693, allocations: 42.5 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.08694, allocations: 0 / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001464/0.08709, allocations: 49.72 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.08715, allocations: 51.41 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.08724, allocations: 102.2 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.08727, allocations: 37.64 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.08731, allocations: 80.14 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.08735, allocations: 11.81 kB / 355.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.08738, allocations: 13.72 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.08748, allocations: 318.8 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.0875, allocations: 4 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.08753, allocations: 17.72 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.08759, allocations: 41.67 kB / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.08759, allocations: 0 / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.288e-05/0.08768, allocations: 61.56 kB / 356 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.0877, allocations: 4 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.08771, allocations: 4 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.08772, allocations: 0 / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.0878, allocations: 12.12 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.08781, allocations: 0 / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.08783, allocations: 0 / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.08784, allocations: 8.016 kB / 356 MB, free: 15.06 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 5.83e-05/0.08791, allocations: 113.8 kB / 356.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.08792, allocations: 3.938 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.08796, allocations: 11.48 kB / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.08796, allocations: 0 / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.08797, allocations: 0 / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.08798, allocations: 0 / 356.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.358e-05/0.08807, allocations: 161.5 kB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08808, allocations: 0 / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.08814, allocations: 15.94 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.08815, allocations: 0 / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.08816, allocations: 0 / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.08817, allocations: 3.938 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.08818, allocations: 0 / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.08829, allocations: 77.11 kB / 356.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.08834, allocations: 89.02 kB / 356.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.08835, allocations: 0 / 356.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.08837, allocations: 64 / 356.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.0884, allocations: 4 kB / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.0884, allocations: 4 kB / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.08845, allocations: 91.2 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08846, allocations: 0 / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.08871, allocations: 48 kB / 356.6 MB, free: 14.34 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.0004874/0.0892, allocations: 0.6747 MB / 357.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.08929, allocations: 19.98 kB / 357.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.08931, allocations: 0 / 357.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.08933, allocations: 11.94 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.08946, allocations: 0 / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.09036, allocations: 1.18 MB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.0906, allocations: 0.6848 MB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.09067, allocations: 4 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.0907, allocations: 15.42 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.0907, allocations: 0 / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.1085, allocations: 1.788 MB / 361 MB, free: 9.938 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.1087, allocations: 205.3 kB / 361.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.756, allocations: 0 / 361.2 MB, free: 9.684 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches