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.001047/0.001047, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001203/0.001203, allocations: 191 kB / 18.66 MB, free: 4.445 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.291/1.291, allocations: 205.1 MB / 224.5 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.001143/0.001143, allocations: 52.31 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08019/0.08134, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001643/0.08303, allocations: 0.5344 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.08485, allocations: 1.509 MB / 376.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.08489, allocations: 4 kB / 376.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.08493, allocations: 3.938 kB / 376.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.08551, allocations: 179.4 kB / 376.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.791e-05/0.08555, allocations: 4 kB / 376.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.08561, allocations: 11.88 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.08566, allocations: 11.98 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.0857, allocations: 4 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.08575, allocations: 7.922 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.08577, allocations: 4 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.08613, allocations: 247.7 kB / 377.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.08615, allocations: 4 kB / 377.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.08618, allocations: 3.938 kB / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.08643, allocations: 171.8 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.08644, allocations: 0 / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08645, allocations: 0 / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.08646, allocations: 3.938 kB / 377.3 MB, free: 2.379 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.0003924/0.08686, allocations: 367.6 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.0869, allocations: 12.03 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.08694, allocations: 34.75 kB / 377.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.08696, allocations: 0.9375 kB / 377.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.08709, allocations: 168.3 kB / 377.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.08711, allocations: 384 / 377.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.08713, allocations: 384 / 377.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.723e-05/0.08721, allocations: 41.81 kB / 377.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.08723, allocations: 0 / 377.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.08724, allocations: 4 kB / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.08725, allocations: 0 / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.08729, allocations: 7.984 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.08744, allocations: 165.7 kB / 378.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.08756, allocations: 34.52 kB / 378.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.08759, allocations: 8.859 kB / 378.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.08761, allocations: 96 / 378.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.08763, allocations: 38.48 kB / 378.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.08764, allocations: 0 / 378.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001287/0.08777, allocations: 49.59 kB / 378.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.08782, allocations: 63.34 kB / 378.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.0879, allocations: 97.86 kB / 378.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.08792, allocations: 25.7 kB / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.08796, allocations: 84.14 kB / 378.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.08799, allocations: 15.83 kB / 378.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.0881, allocations: 17.72 kB / 378.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.0882, allocations: 314.8 kB / 378.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.08823, allocations: 15.98 kB / 378.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.08826, allocations: 14.56 kB / 378.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.08831, allocations: 29.72 kB / 378.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.08832, allocations: 0 / 378.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.633e-05/0.08841, allocations: 61.47 kB / 379 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.08843, allocations: 8 kB / 379 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.08845, allocations: 0 / 379 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.08847, allocations: 0 / 379 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.08855, allocations: 19.95 kB / 379 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.08856, allocations: 0 / 379 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.08859, allocations: 4.125 kB / 379 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.0886, allocations: 11.94 kB / 379 MB, free: 468 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 6.18e-05/0.08867, allocations: 109.8 kB / 379.1 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.08868, allocations: 3.938 kB / 379.1 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.08871, allocations: 11.5 kB / 379.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.08872, allocations: 3.938 kB / 379.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.08873, allocations: 0 / 379.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.08874, allocations: 4 kB / 379.1 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.08884, allocations: 157.7 kB / 379.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.08885, allocations: 0 / 379.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.08892, allocations: 15.92 kB / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.08893, allocations: 0 / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.08894, allocations: 0 / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.08895, allocations: 0 / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.08895, allocations: 0 / 379.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1482/0.2372, allocations: 86.95 kB / 379.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.2373, allocations: 82.02 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.2373, allocations: 3.594 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.2373, allocations: 1.078 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2373, allocations: 1.844 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2374, allocations: 1.625 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.2374, allocations: 81.08 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2374, allocations: 1.125 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.2377, allocations: 46.61 kB / 379.6 MB, free: 12.68 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.0003778/0.2381, allocations: 0.6638 MB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.808e-05/0.2382, allocations: 22.67 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2382, allocations: 0 / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.2382, allocations: 12.75 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.2384, allocations: 2.125 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.2391, allocations: 1.18 MB / 381.5 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.346e-05/0.2392, allocations: 0.6816 MB / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.187e-05/0.2393, allocations: 4.469 kB / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.2393, allocations: 9.562 kB / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2393, allocations: 3.969 kB / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.2568, allocations: 2.001 MB / 384.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.563, allocations: 17 kB / 384.2 MB, free: 9.812 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