Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 60.14 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001721/0.105, allocations: 0.5167 MB / 426.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.107, allocations: 1.564 MB / 428.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1071, allocations: 4 kB / 428.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.1071, allocations: 0 / 428.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.1077, allocations: 171.4 kB / 428.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.235e-05/0.1077, allocations: 8 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.1078, allocations: 19.97 kB / 428.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.1078, allocations: 0 / 428.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.1079, allocations: 7.938 kB / 428.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.1079, allocations: 15.92 kB / 428.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1079, allocations: 0 / 428.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.1083, allocations: 247.7 kB / 428.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.1083, allocations: 4 kB / 428.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.1084, allocations: 7.922 kB / 428.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1086, allocations: 179.5 kB / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1086, allocations: 4 kB / 429.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1086, allocations: 0 / 429.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1087, allocations: 0 / 429.1 MB, free: 1.875 MB / 350.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.0004562/0.1091, allocations: 365.7 kB / 429.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1091, allocations: 8.031 kB / 429.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.1092, allocations: 34.73 kB / 429.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.1092, allocations: 4.938 kB / 429.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1094, allocations: 160.4 kB / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1094, allocations: 384 / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1094, allocations: 12.38 kB / 429.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.1095, allocations: 41.75 kB / 429.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1095, allocations: 0 / 429.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.1095, allocations: 0 / 429.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1095, allocations: 0 / 429.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.764e-05/0.1095, allocations: 11.98 kB / 429.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1097, allocations: 157.7 kB / 429.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.1098, allocations: 30.52 kB / 429.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.1098, allocations: 12.86 kB / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-06/0.1098, allocations: 0 / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1098, allocations: 38.59 kB / 429.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1098, allocations: 3.938 kB / 430 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001376/0.11, allocations: 53.62 kB / 430 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.11, allocations: 55.34 kB / 430.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.1101, allocations: 97.86 kB / 430.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1101, allocations: 25.7 kB / 430.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.1102, allocations: 92.14 kB / 430.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1102, allocations: 15.83 kB / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1102, allocations: 17.72 kB / 430.3 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1104, allocations: 310.8 kB / 430.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.1104, allocations: 8 kB / 430.6 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.1104, allocations: 25.7 kB / 430.6 MB, free: 100 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/0.1105, allocations: 26.09 kB / 430.7 MB, free: 68 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1105, allocations: 0 / 430.7 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001187/0.1106, allocations: 69.62 kB / 430.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1106, allocations: 4 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1106, allocations: 0 / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1106, allocations: 0 / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.1107, allocations: 8 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1107, allocations: 3.984 kB / 430.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.1107, allocations: 7.938 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1107, allocations: 4.031 kB / 430.8 MB, free: 15.96 MB / 366.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.791e-05/0.1108, allocations: 109.8 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.1108, allocations: 7.938 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1108, allocations: 7.5 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1108, allocations: 0 / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1109, allocations: 128 / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1109, allocations: 4 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.111, allocations: 161.6 kB / 431 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.111, allocations: 0 / 431 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.111, allocations: 7.938 kB / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.111, allocations: 7.984 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.1111, allocations: 4 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1111, allocations: 0 / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1111, allocations: 0 / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.1112, allocations: 73.12 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1112, allocations: 81.05 kB / 431.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1112, allocations: 0 / 431.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.1112, allocations: 0 / 431.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.1113, allocations: 19.95 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1113, allocations: 0 / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.1113, allocations: 83.28 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1113, allocations: 0 / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1116, allocations: 59.8 kB / 431.4 MB, free: 15.24 MB / 366.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.0005759/0.1122, allocations: 0.6669 MB / 432 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.1122, allocations: 19.94 kB / 432.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1122, allocations: 0 / 432.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.1123, allocations: 15.98 kB / 432.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1124, allocations: 1.266 kB / 432.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1135, allocations: 1.185 MB / 433.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1139, allocations: 0.6885 MB / 433.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.119e-05/0.1139, allocations: 0 / 433.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.114, allocations: 15.44 kB / 434 MB, free: 12.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.114, allocations: 0 / 434 MB, free: 12.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1401, allocations: 2.055 MB / 436 MB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/7.989, allocations: 12.03 kB / 436 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.0009996 Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.721534298965707]