Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.001189/0.001189, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001183/0.001183, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2331/0.2331, allocations: 44.19 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3547, allocations: 60.82 MB / 0.5185 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002729/0.3575, allocations: 1.704 MB / 0.5202 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3588, allocations: 0.8797 MB / 0.521 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.3589, allocations: 5 kB / 0.521 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.3592, allocations: 38.97 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.3594, allocations: 55.23 kB / 0.5211 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3597, allocations: 106.4 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3599, allocations: 98.33 kB / 0.5213 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.36, allocations: 12.44 kB / 0.5213 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.3601, allocations: 41.27 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.3602, allocations: 29.61 kB / 0.5214 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3602, allocations: 8.484 kB / 0.5214 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3603, allocations: 42.69 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.3604, allocations: 17.86 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.3604, allocations: 37.41 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3607, allocations: 113.3 kB / 0.5216 GB, free: 1.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3607, allocations: 8 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3607, allocations: 1.344 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3607, allocations: 0 / 0.5216 GB, free: 1.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005376/0.3612, allocations: 419.3 kB / 0.522 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3613, allocations: 9.844 kB / 0.522 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.3613, allocations: 37.09 kB / 0.5221 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3614, allocations: 10.39 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3617, allocations: 211.9 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3617, allocations: 5.438 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3617, allocations: 14.7 kB / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3619, allocations: 54.09 kB / 0.5224 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3619, allocations: 0 / 0.5224 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3619, allocations: 5.859 kB / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3619, allocations: 0.9062 kB / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.362, allocations: 17.98 kB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.3624, allocations: 283.3 kB / 0.5226 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3626, allocations: 60.95 kB / 0.5227 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.3626, allocations: 23.66 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3627, allocations: 1.188 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.3629, allocations: 65.39 kB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3629, allocations: 0 / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006065/0.3635, allocations: 190.3 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.3636, allocations: 56.72 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.3638, allocations: 204.4 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3639, allocations: 27.89 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.364, allocations: 103.6 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.364, allocations: 26.31 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.3641, allocations: 21.41 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3642, allocations: 327.2 kB / 0.5237 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.3643, allocations: 21.44 kB / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.3644, allocations: 34.98 kB / 0.5238 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3645, allocations: 61.42 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3645, allocations: 0.9844 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002315/0.3648, allocations: 105.7 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3648, allocations: 8.656 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3648, allocations: 3.406 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3648, allocations: 0 / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.3649, allocations: 15.22 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3649, allocations: 0.7031 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.365, allocations: 7.531 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.365, allocations: 7.094 kB / 0.524 GB, free: 15.02 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 (10): * Single equations (assignments): 10 * 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.0001214/0.3651, allocations: 121.9 kB / 0.5241 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3652, allocations: 14.31 kB / 0.5241 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.3652, allocations: 21.11 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3652, allocations: 5.031 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3652, allocations: 192 / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3653, allocations: 5.828 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.3658, allocations: 390.2 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3658, allocations: 5.438 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.3659, allocations: 8.672 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3659, allocations: 5.469 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3659, allocations: 10 kB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3659, allocations: 0.7031 kB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3659, allocations: 1.438 kB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3662, allocations: 201.3 kB / 0.5247 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.3663, allocations: 88.62 kB / 0.5248 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3663, allocations: 10.8 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3664, allocations: 6.812 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3664, allocations: 9.531 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3664, allocations: 4.969 kB / 0.5248 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3666, allocations: 151.1 kB / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3666, allocations: 0 / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3669, allocations: 25.58 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002146/0.369, allocations: 1.099 MB / 0.5261 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.3692, allocations: 64.86 kB / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3692, allocations: 0 / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.3693, allocations: 32.44 kB / 0.5262 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3697, allocations: 24.52 kB / 0.5262 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3719, allocations: 1.676 MB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3722, allocations: 0.703 MB / 0.5285 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.3723, allocations: 18.14 kB / 0.5285 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.3724, allocations: 38.95 kB / 0.5286 GB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3724, allocations: 0 / 0.5286 GB, free: 11.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.3963, allocations: 3.431 MB / 0.5319 GB, free: 9.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.349, allocations: 10.25 kB / 0.5319 GB, free: 9.703 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_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_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches