Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001519/0.001519, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001221/0.001221, allocations: 181 kB / 18.71 MB, free: 4.207 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2202/0.2202, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 75.88 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3626, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00269/0.3653, allocations: 1.702 MB / 0.5202 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3666, allocations: 0.8711 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.3667, allocations: 1.375 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.367, allocations: 35.06 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.3673, allocations: 63.89 kB / 0.5211 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3675, allocations: 108.9 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3677, allocations: 100.1 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.3678, allocations: 7.859 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3679, allocations: 41.23 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.368, allocations: 30.09 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.368, allocations: 3.062 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.3681, allocations: 46.09 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.3681, allocations: 22.31 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.3682, allocations: 37.59 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3684, allocations: 111 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3684, allocations: 1.188 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3684, allocations: 0 / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3684, allocations: 0 / 0.5216 GB, free: 1.203 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.0004722/0.3689, allocations: 418.4 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.369, allocations: 10.12 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.369, allocations: 37.48 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.369, allocations: 9.047 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3693, allocations: 206.7 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3693, allocations: 5.375 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.3693, allocations: 7.141 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3695, allocations: 62.03 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3695, allocations: 1.406 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.3695, allocations: 0 / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3695, allocations: 1.531 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.3696, allocations: 22.34 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.3699, allocations: 289.3 kB / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3701, allocations: 61.52 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.3702, allocations: 18.72 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3702, allocations: 1.844 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.3703, allocations: 70.08 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3703, allocations: 0 / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005685/0.3709, allocations: 173.2 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.371, allocations: 57.11 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3712, allocations: 190.1 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3712, allocations: 27.02 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.3713, allocations: 111.5 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3713, allocations: 22.78 kB / 0.5233 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.3714, allocations: 21.55 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3715, allocations: 321.4 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.3716, allocations: 22.3 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.3717, allocations: 39.47 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3718, allocations: 56.88 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3718, allocations: 1.125 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002077/0.372, allocations: 108.7 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3721, allocations: 5.094 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3721, allocations: 2.188 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3721, allocations: 1.562 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.3722, allocations: 14.16 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3722, allocations: 5.219 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.3723, allocations: 3.391 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3723, allocations: 11.22 kB / 0.5239 GB, free: 15.14 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.0001168/0.3724, allocations: 132.7 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3724, allocations: 12.81 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.3725, allocations: 19.98 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3725, allocations: 1.344 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.3725, allocations: 5.031 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3725, allocations: 8.531 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.373, allocations: 389.4 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.373, allocations: 1.438 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.3731, allocations: 8.703 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3731, allocations: 5.406 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3731, allocations: 2.562 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3731, allocations: 5.469 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3731, allocations: 0.5625 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3734, allocations: 208.5 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.3734, allocations: 92.84 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3735, allocations: 2.828 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.3735, allocations: 6.328 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.3736, allocations: 6.234 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3736, allocations: 4.203 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3738, allocations: 142.5 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3738, allocations: 0.875 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.374, allocations: 25.56 kB / 0.5249 GB, free: 14.25 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.00211/0.3762, allocations: 1.097 MB / 0.526 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3764, allocations: 53.48 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3764, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.3765, allocations: 36.8 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3768, allocations: 31.39 kB / 0.5261 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3788, allocations: 1.642 MB / 0.5277 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3792, allocations: 0.7009 MB / 0.5284 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.3793, allocations: 17.23 kB / 0.5284 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.3794, allocations: 34.3 kB / 0.5285 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3794, allocations: 0 / 0.5285 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.4048, allocations: 3.378 MB / 0.5318 GB, free: 9.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.33, allocations: 9.266 kB / 0.5318 GB, free: 9.836 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_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_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches