Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.00113/0.00113, 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.001013/0.001013, allocations: 183 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.451/1.451, 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.2167/0.2167, allocations: 44.2 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.463, allocations: 60.82 MB / 0.5185 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003316/0.4664, allocations: 1.706 MB / 0.5202 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4678, allocations: 0.875 MB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.4679, allocations: 5.281 kB / 0.521 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.4682, allocations: 74.67 kB / 0.5211 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.4685, allocations: 82.27 kB / 0.5212 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.4688, allocations: 106.1 kB / 0.5213 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.469, allocations: 102.4 kB / 0.5214 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4691, allocations: 16.64 kB / 0.5214 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4692, allocations: 54.7 kB / 0.5215 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.4694, allocations: 57.7 kB / 0.5215 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.4694, allocations: 3.625 kB / 0.5215 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.4695, allocations: 43.59 kB / 0.5216 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.4696, allocations: 24.53 kB / 0.5216 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.4696, allocations: 33.02 kB / 0.5216 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4699, allocations: 118.1 kB / 0.5217 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4699, allocations: 9.031 kB / 0.5217 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4699, allocations: 0 / 0.5217 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4699, allocations: 0 / 0.5217 GB, free: 1.457 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.0005034/0.4704, allocations: 426.6 kB / 0.5221 GB, free: 1.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4705, allocations: 8.969 kB / 0.5221 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.4705, allocations: 37.56 kB / 0.5222 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.4706, allocations: 13.62 kB / 0.5222 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4708, allocations: 208.2 kB / 0.5224 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4708, allocations: 6.469 kB / 0.5224 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4708, allocations: 14.73 kB / 0.5224 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.471, allocations: 61.31 kB / 0.5225 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.471, allocations: 0 / 0.5225 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.471, allocations: 2.031 kB / 0.5225 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.471, allocations: 0 / 0.5225 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.4711, allocations: 23.67 kB / 0.5225 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.4714, allocations: 284.1 kB / 0.5228 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.4716, allocations: 67.98 kB / 0.5228 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.4717, allocations: 19.19 kB / 0.5228 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4717, allocations: 2.312 kB / 0.5229 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.4718, allocations: 65.86 kB / 0.5229 GB, free: 312 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4718, allocations: 0 / 0.5229 GB, free: 312 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.4724, allocations: 177.2 kB / 0.5231 GB, free: 220 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.4724, allocations: 52.56 kB / 0.5231 GB, free: 156 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4726, allocations: 215.6 kB / 0.5233 GB, free: 16 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.4726, allocations: 31.11 kB / 0.5234 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4728, allocations: 104.3 kB / 0.5235 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.4728, allocations: 25.81 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.4728, allocations: 21.75 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.473, allocations: 327.6 kB / 0.5238 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.4731, allocations: 21.62 kB / 0.5238 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-05/0.4731, allocations: 40.23 kB / 0.5239 GB, free: 15.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4733, allocations: 60.22 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4733, allocations: 1 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.4735, allocations: 102.1 kB / 0.524 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4735, allocations: 8.938 kB / 0.524 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4735, allocations: 1.766 kB / 0.524 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4735, allocations: 1.062 kB / 0.5241 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.4736, allocations: 14.72 kB / 0.5241 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4736, allocations: 1.188 kB / 0.5241 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.4737, allocations: 7.016 kB / 0.5241 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.4737, allocations: 7.625 kB / 0.5241 GB, free: 15.38 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.000102/0.4738, allocations: 131.7 kB / 0.5242 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.4739, allocations: 14.05 kB / 0.5242 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.4739, allocations: 21.7 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4739, allocations: 1.094 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4739, allocations: 0 / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4739, allocations: 4.922 kB / 0.5242 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4744, allocations: 396.4 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4744, allocations: 6.234 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.4745, allocations: 12.17 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4745, allocations: 5.125 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4745, allocations: 6.656 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4745, allocations: 1.094 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4745, allocations: 5.312 kB / 0.5247 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4747, allocations: 209.5 kB / 0.5249 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.4748, allocations: 85.19 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4748, allocations: 5.734 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.4749, allocations: 3.625 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.475, allocations: 9.406 kB / 0.525 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.475, allocations: 8.438 kB / 0.525 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4751, allocations: 156.8 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4751, allocations: 0 / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.4754, allocations: 25.47 kB / 0.5251 GB, free: 14.47 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.001594/0.477, allocations: 1.099 MB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.4773, allocations: 64.3 kB / 0.5263 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4773, allocations: 0 / 0.5263 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.4774, allocations: 28.72 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.4777, allocations: 37.23 kB / 0.5263 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.4797, allocations: 1.689 MB / 0.528 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.48, allocations: 0.7129 MB / 0.5287 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.4801, allocations: 21.52 kB / 0.5287 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.4801, allocations: 34.44 kB / 0.5287 GB, free: 11.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4802, allocations: 0 / 0.5287 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.5016, allocations: 3.486 MB / 0.5321 GB, free: 9.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.081, allocations: 8.156 kB / 0.5321 GB, free: 9.914 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches