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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_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.001231/0.001231, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001325/0.001325, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.333/1.333, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00169/0.00169, allocations: 63.89 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08982, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001625/0.09148, allocations: 0.5266 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.09343, allocations: 1.52 MB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.09348, allocations: 0 / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.0935, allocations: 0 / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.0941, allocations: 175.5 kB / 376.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.413e-05/0.09414, allocations: 7.984 kB / 376.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.0942, allocations: 15.92 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.09424, allocations: 3.938 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.745e-05/0.09428, allocations: 8 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.09434, allocations: 7.938 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.09435, allocations: 0 / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.09475, allocations: 243.7 kB / 377.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.09478, allocations: 11.98 kB / 377.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.09481, allocations: 7.938 kB / 377.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.09509, allocations: 163.6 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.0951, allocations: 3.938 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09511, allocations: 4 kB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.09512, allocations: 0 / 377.3 MB, free: 2.371 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.0004855/0.09561, allocations: 367 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.09565, allocations: 8.031 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.0957, allocations: 38.69 kB / 377.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.09573, allocations: 8.938 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.09589, allocations: 160.4 kB / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.09591, allocations: 4.375 kB / 377.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.09593, allocations: 4.328 kB / 377.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.243e-05/0.09602, allocations: 41.81 kB / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.09604, allocations: 0 / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.09605, allocations: 0 / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.09606, allocations: 0 / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.0961, allocations: 11.98 kB / 378 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.09629, allocations: 157.7 kB / 378.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.09636, allocations: 34.52 kB / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.09639, allocations: 16.94 kB / 378.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-06/0.09641, allocations: 0 / 378.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.09644, allocations: 34.5 kB / 378.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.09645, allocations: 0 / 378.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001441/0.09659, allocations: 49.62 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.09664, allocations: 55.41 kB / 378.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.09674, allocations: 106 kB / 378.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.09677, allocations: 25.7 kB / 378.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.09682, allocations: 84.12 kB / 378.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.09685, allocations: 15.84 kB / 378.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.09689, allocations: 17.72 kB / 378.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.09703, allocations: 318.8 kB / 378.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.09705, allocations: 7.984 kB / 378.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.09709, allocations: 22.56 kB / 378.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.09715, allocations: 33.66 kB / 378.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09716, allocations: 0 / 378.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.326e-05/0.09725, allocations: 53.62 kB / 379 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.09727, allocations: 4 kB / 379 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.09727, allocations: 0 / 379 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.09729, allocations: 4 kB / 379 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.09737, allocations: 15.95 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.09738, allocations: 7.938 kB / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.09741, allocations: 4.125 kB / 379 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.09742, allocations: 0 / 379 MB, free: 464 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 8.406e-05/0.09751, allocations: 117.8 kB / 379.1 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.09753, allocations: 11.83 kB / 379.1 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.09755, allocations: 3.5 kB / 379.1 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.09756, allocations: 4 kB / 379.2 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.09757, allocations: 0 / 379.2 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.09758, allocations: 4 kB / 379.2 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.0977, allocations: 153.7 kB / 379.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.09771, allocations: 0 / 379.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.09778, allocations: 15.92 kB / 379.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.09779, allocations: 0 / 379.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.0978, allocations: 4 kB / 379.3 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.09781, allocations: 0 / 379.3 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09781, allocations: 0 / 379.3 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1621/0.2599, allocations: 74.33 kB / 379.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.26, allocations: 85.03 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.26, allocations: 1.5 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.2601, allocations: 1 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2601, allocations: 2.547 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2601, allocations: 2.891 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.2601, allocations: 83.23 kB / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2601, allocations: 0 / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.2605, allocations: 55.75 kB / 379.6 MB, free: 12.73 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.0004275/0.2609, allocations: 0.6628 MB / 380.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.261, allocations: 25.28 kB / 380.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.261, allocations: 0 / 380.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.261, allocations: 6.719 kB / 380.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.2612, allocations: 5.344 kB / 380.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.2619, allocations: 1.185 MB / 381.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.507e-05/0.262, allocations: 0.679 MB / 382.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.2621, allocations: 4.844 kB / 382.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.2621, allocations: 9.516 kB / 382.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2621, allocations: 3.719 kB / 382.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.2867, allocations: 1.996 MB / 384.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.067, allocations: 11.02 kB / 384.2 MB, free: 9.863 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > 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