Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001253/0.001253, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001213/0.001213, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.04 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.2193/0.2193, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001869, allocations: 71.88 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.364, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003235/0.3673, allocations: 1.67 MB / 0.5201 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3688, allocations: 0.8602 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.3689, allocations: 0 / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.3693, allocations: 51.33 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.3696, allocations: 59.97 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.3699, allocations: 110.5 kB / 0.5212 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3701, allocations: 88.62 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.3702, allocations: 5.281 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3703, allocations: 45.08 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.3704, allocations: 32.81 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3704, allocations: 3.188 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3705, allocations: 26.8 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.3706, allocations: 21.98 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.3707, allocations: 41.33 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.371, allocations: 109.1 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.371, allocations: 2.047 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.371, allocations: 0 / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.371, allocations: 0 / 0.5215 GB, free: 1.27 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.000695/0.3717, allocations: 454.9 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.3718, allocations: 10.47 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.3718, allocations: 32.38 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.3719, allocations: 11.27 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.3723, allocations: 212.8 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3724, allocations: 2.328 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.3724, allocations: 6.219 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3726, allocations: 57.91 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3726, allocations: 5.25 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3727, allocations: 0.5625 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3727, allocations: 1.312 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3728, allocations: 18.61 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.3731, allocations: 185.9 kB / 0.5225 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.3734, allocations: 57.05 kB / 0.5225 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.3735, allocations: 22.81 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3735, allocations: 1.844 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.3737, allocations: 64.03 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.737e-06/0.3737, allocations: 1.406 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004267/0.3742, allocations: 100.5 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3742, allocations: 56.92 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.3747, allocations: 257.9 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3748, allocations: 30.95 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3749, allocations: 115 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.3749, allocations: 14.69 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.375, allocations: 20.84 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3752, allocations: 328.5 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.3753, allocations: 12.56 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.3754, allocations: 26.44 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3756, allocations: 55.84 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3756, allocations: 3.938 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002827/0.3759, allocations: 84.92 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.3759, allocations: 5.797 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.376, allocations: 1.062 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.376, allocations: 1.344 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3761, allocations: 10.25 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3761, allocations: 5.188 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.3762, allocations: 7.609 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3763, allocations: 2.25 kB / 0.5237 GB, free: 15.3 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.0001754/0.3764, allocations: 133.2 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.3765, allocations: 13.72 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.3766, allocations: 19.23 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3766, allocations: 1.188 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3766, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3766, allocations: 0.7031 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3769, allocations: 201.9 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3769, allocations: 0.7031 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.3769, allocations: 7.703 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3769, allocations: 1.062 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3769, allocations: 1.953 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.377, allocations: 3.938 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.377, allocations: 1.344 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3773, allocations: 114.4 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.3774, allocations: 92.27 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.3774, allocations: 1.875 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.3775, allocations: 3.266 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.3775, allocations: 11.44 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3776, allocations: 3.328 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.3778, allocations: 199.6 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3779, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.3783, allocations: 22.12 kB / 0.5245 GB, free: 14.62 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.002749/0.381, allocations: 0.9586 MB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3813, allocations: 49.19 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3813, allocations: 0 / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.3814, allocations: 17.92 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3818, allocations: 30.17 kB / 0.5255 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.3847, allocations: 1.658 MB / 0.5272 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.3852, allocations: 0.7119 MB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.155e-05/0.3853, allocations: 10.92 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3854, allocations: 37.97 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3854, allocations: 4 kB / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.4179, allocations: 3.412 MB / 0.5312 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.293, allocations: 13.69 kB / 0.5313 GB, free: 10.35 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_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_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches