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.001255/0.001255, allocations: 114.4 kB / 17.74 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.001164/0.001163, allocations: 183.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.35/1.35, 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.001288/0.001288, allocations: 59.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09842, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002187/0.1007, allocations: 0.5343 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1035, allocations: 1.516 MB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.1036, allocations: 0 / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.1036, allocations: 0 / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008329/0.1045, allocations: 171.5 kB / 376.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.968e-05/0.1045, allocations: 4 kB / 376.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.1046, allocations: 23.84 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.1047, allocations: 4 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.04e-05/0.1047, allocations: 4 kB / 376.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.1048, allocations: 11.92 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1048, allocations: 0 / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.1053, allocations: 243.7 kB / 377.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1054, allocations: 7.984 kB / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1054, allocations: 7.922 kB / 377.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.1058, allocations: 171.6 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1058, allocations: 0 / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1058, allocations: 0 / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1058, allocations: 0 / 377.3 MB, free: 2.375 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.0005077/0.1063, allocations: 367 kB / 377.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1064, allocations: 12.03 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.1064, allocations: 30.75 kB / 377.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1064, allocations: 4.938 kB / 377.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1066, allocations: 172.3 kB / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1067, allocations: 4.375 kB / 377.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1067, allocations: 4.328 kB / 377.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.1068, allocations: 37.81 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1068, allocations: 7.984 kB / 378 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1068, allocations: 0 / 378 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1068, allocations: 0 / 378 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.1069, allocations: 11.94 kB / 378 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.107, allocations: 157.7 kB / 378.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.1071, allocations: 34.61 kB / 378.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.1072, allocations: 8.859 kB / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1072, allocations: 0 / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1072, allocations: 34.5 kB / 378.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1072, allocations: 0 / 378.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.1074, allocations: 57.72 kB / 378.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1074, allocations: 55.41 kB / 378.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.1075, allocations: 97.84 kB / 378.4 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1075, allocations: 25.7 kB / 378.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.1075, allocations: 88.14 kB / 378.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1076, allocations: 11.84 kB / 378.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1076, allocations: 17.72 kB / 378.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1077, allocations: 318.8 kB / 378.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.1078, allocations: 8 kB / 378.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.1078, allocations: 26.56 kB / 378.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.1078, allocations: 29.64 kB / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1079, allocations: 0 / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.577e-05/0.1079, allocations: 61.56 kB / 379 MB, free: 496 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.108, allocations: 8 kB / 379 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.108, allocations: 0 / 379 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.108, allocations: 0 / 379 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.1081, allocations: 15.97 kB / 379 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1081, allocations: 0 / 379 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1081, allocations: 128 / 379 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1081, allocations: 8 kB / 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 7.528e-05/0.1082, allocations: 109.8 kB / 379.1 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.1082, allocations: 12.31 kB / 379.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.1083, allocations: 11.48 kB / 379.1 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1083, allocations: 0 / 379.1 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.1083, allocations: 3.984 kB / 379.1 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1083, allocations: 4 kB / 379.2 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1085, allocations: 157.7 kB / 379.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1085, allocations: 0 / 379.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.1085, allocations: 11.88 kB / 379.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1085, allocations: 0 / 379.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1086, allocations: 0 / 379.3 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1086, allocations: 4 kB / 379.3 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1086, allocations: 3.938 kB / 379.3 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1574/0.2659, allocations: 73.14 kB / 379.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.266, allocations: 84.67 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.2661, allocations: 1.734 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.2661, allocations: 0.875 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.2661, allocations: 1.438 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2662, allocations: 4.016 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.2662, allocations: 81.3 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2662, allocations: 0 / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.2665, allocations: 60.22 kB / 379.6 MB, free: 12.66 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.000401/0.2669, allocations: 0.6571 MB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.486e-05/0.2671, allocations: 23.11 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2671, allocations: 0 / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.2671, allocations: 13.8 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.2673, allocations: 2.75 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.268, allocations: 1.181 MB / 381.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2681, allocations: 0.6799 MB / 382.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.787e-05/0.2682, allocations: 3.75 kB / 382.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.2682, allocations: 12.19 kB / 382.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2682, allocations: 3.719 kB / 382.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.2884, allocations: 1.995 MB / 384.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.939, allocations: 13.66 kB / 384.2 MB, free: 9.793 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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