Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.001296/0.001296, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.00125/0.00125, 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2177/0.2177, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3618, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002699/0.3645, allocations: 1.709 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3657, allocations: 0.8679 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.3658, allocations: 1.406 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3661, allocations: 38.52 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3663, allocations: 59.7 kB / 0.5211 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3666, allocations: 109.3 kB / 0.5212 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3668, allocations: 96.2 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.3669, allocations: 11.67 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.367, allocations: 37.44 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.367, allocations: 33.61 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3671, allocations: 7.5 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.3672, allocations: 46.95 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.3672, allocations: 22.48 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.3673, allocations: 42.42 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3675, allocations: 111.8 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3675, allocations: 1.406 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3675, allocations: 0 / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3675, allocations: 0 / 0.5216 GB, free: 1.211 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.0004702/0.368, allocations: 419.6 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.368, allocations: 14.14 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.3681, allocations: 33.69 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3681, allocations: 13.7 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3683, allocations: 208 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3683, allocations: 1.5 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3684, allocations: 10.69 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3685, allocations: 54.84 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3685, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.3685, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3685, allocations: 1.094 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.3686, allocations: 27.55 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.3689, allocations: 286.4 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3691, allocations: 60.64 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.3692, allocations: 20.47 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3692, allocations: 9 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.3693, allocations: 61.84 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3694, allocations: 0 / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005359/0.3699, allocations: 181.1 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3699, allocations: 56.69 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3702, allocations: 200.6 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3702, allocations: 31.62 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3703, allocations: 105 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3703, allocations: 25.34 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.3704, allocations: 26.7 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3705, allocations: 322.1 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.3706, allocations: 25.94 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.3707, allocations: 35.77 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3708, allocations: 64.92 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3708, allocations: 192 / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.371, allocations: 109.8 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.371, allocations: 12.75 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.371, allocations: 0.7031 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3711, allocations: 1.469 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.3711, allocations: 14.33 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3712, allocations: 5.562 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.3712, allocations: 7.047 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3712, allocations: 2.906 kB / 0.524 GB, free: 15.13 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.0001174/0.3714, allocations: 131.2 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.3714, allocations: 13.91 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.3714, allocations: 15.84 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3715, allocations: 1.062 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3715, allocations: 5.641 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3715, allocations: 0 / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.372, allocations: 395.4 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.372, allocations: 1.125 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.372, allocations: 8.188 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.372, allocations: 5.062 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.372, allocations: 3.328 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.372, allocations: 1.906 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3721, allocations: 4 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3723, allocations: 205.2 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.3724, allocations: 97.69 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3724, allocations: 2.016 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.3725, allocations: 6.781 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3725, allocations: 6.156 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3725, allocations: 3.156 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3727, allocations: 152.2 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 0 / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.373, allocations: 30.53 kB / 0.525 GB, free: 14.23 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.00213/0.3751, allocations: 1.093 MB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3753, allocations: 69.33 kB / 0.5261 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3753, allocations: 0 / 0.5261 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.3754, allocations: 24.98 kB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3758, allocations: 35.42 kB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3777, allocations: 1.662 MB / 0.5278 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3781, allocations: 0.7081 MB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.614e-05/0.3781, allocations: 15.98 kB / 0.5285 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.3782, allocations: 39.02 kB / 0.5286 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3782, allocations: 1.406 kB / 0.5286 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.4017, allocations: 3.436 MB / 0.5319 GB, free: 9.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.265, allocations: 5.156 kB / 0.5319 GB, free: 9.77 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_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_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches