Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001152/0.001152, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001556/0.001556, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.18 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.14 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3307, allocations: 60.82 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003013/0.3338, allocations: 1.667 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3351, allocations: 0.8557 MB / 0.521 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3353, allocations: 1.125 kB / 0.521 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3356, allocations: 50.41 kB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.3359, allocations: 63.56 kB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.3362, allocations: 103.9 kB / 0.5212 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3364, allocations: 96.38 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.3365, allocations: 5.062 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3366, allocations: 41.7 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.3367, allocations: 29.78 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.3367, allocations: 2.469 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3368, allocations: 33.69 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.3369, allocations: 23.97 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.337, allocations: 41.69 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3372, allocations: 112.7 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3372, allocations: 1 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3372, allocations: 0 / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.3373, allocations: 0 / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005329/0.3378, allocations: 445.6 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3379, allocations: 9.688 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.3379, allocations: 35.31 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.338, allocations: 12.5 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3383, allocations: 216.8 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3383, allocations: 1.594 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3383, allocations: 6.812 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3385, allocations: 54.89 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3385, allocations: 4 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3385, allocations: 0 / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3385, allocations: 1.828 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.3386, allocations: 14.16 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3388, allocations: 190.6 kB / 0.5225 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.339, allocations: 56.83 kB / 0.5225 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.339, allocations: 22.91 kB / 0.5226 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3391, allocations: 1.719 kB / 0.5226 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.3392, allocations: 59.97 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.3392, allocations: 5.062 kB / 0.5226 GB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002896/0.3395, allocations: 97.78 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.3396, allocations: 52.66 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.3398, allocations: 261.6 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3399, allocations: 31.55 kB / 0.5231 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.34, allocations: 115 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.34, allocations: 14.39 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.34, allocations: 20.28 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3402, allocations: 327.8 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.3403, allocations: 15.12 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.3403, allocations: 25.28 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3404, allocations: 54.23 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3405, allocations: 5.406 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.3406, allocations: 85.03 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3407, allocations: 8.953 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3407, allocations: 1.094 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3407, allocations: 0 / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.3408, allocations: 10.94 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3408, allocations: 6.094 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.3409, allocations: 7.516 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3409, allocations: 2.234 kB / 0.5237 GB, free: 15.33 MB / 398.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001184/0.341, allocations: 131.9 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.341, allocations: 15.17 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.3411, allocations: 18.03 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3411, allocations: 1.547 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3411, allocations: 0 / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3411, allocations: 0.75 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3413, allocations: 205.6 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3413, allocations: 0.5625 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.3414, allocations: 8.125 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.3414, allocations: 5.141 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3414, allocations: 1.703 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3414, allocations: 3.938 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3414, allocations: 1.828 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3416, allocations: 113 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.3417, allocations: 92.88 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3417, allocations: 1.859 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.3418, allocations: 3.766 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3418, allocations: 7.594 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3418, allocations: 2.984 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.342, allocations: 203.5 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.342, allocations: 3.938 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3423, allocations: 23.8 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001436/0.3437, allocations: 0.9478 MB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3439, allocations: 44.41 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3439, allocations: 0 / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.203e-05/0.344, allocations: 20.92 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3443, allocations: 31.3 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.3463, allocations: 1.653 MB / 0.5272 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3466, allocations: 0.7173 MB / 0.5279 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.836e-05/0.3467, allocations: 14.27 kB / 0.5279 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.3468, allocations: 42.38 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3468, allocations: 0 / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.37, allocations: 3.407 MB / 0.5312 GB, free: 10.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.087, allocations: 13.91 kB / 0.5313 GB, free: 10.39 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches