Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.001357/0.001357, allocations: 113.2 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.001323/0.001323, allocations: 184.2 kB / 18.72 MB, free: 4.352 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.211/0.211, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3726, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003332/0.376, allocations: 1.725 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3774, allocations: 0.8806 MB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.3775, allocations: 1.312 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.3779, allocations: 76.05 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3781, allocations: 83.34 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.3785, allocations: 114.4 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3787, allocations: 109.8 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3788, allocations: 16.61 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3789, allocations: 55.84 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.379, allocations: 57.03 kB / 0.5216 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3791, allocations: 8.188 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3792, allocations: 58.95 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.3793, allocations: 24.19 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.3793, allocations: 39 kB / 0.5217 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3796, allocations: 137.7 kB / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3796, allocations: 1.188 kB / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3796, allocations: 0 / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3796, allocations: 0.7031 kB / 0.5218 GB, free: 1.184 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005545/0.3802, allocations: 427.9 kB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3803, allocations: 14.38 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.3803, allocations: 33.3 kB / 0.5223 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3803, allocations: 14.62 kB / 0.5223 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3807, allocations: 215.8 kB / 0.5225 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3807, allocations: 2.109 kB / 0.5225 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3807, allocations: 7.406 kB / 0.5225 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3809, allocations: 65.09 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3809, allocations: 1.609 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3809, allocations: 0.9375 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3809, allocations: 5.188 kB / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.381, allocations: 25.48 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.3814, allocations: 302.8 kB / 0.5229 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3816, allocations: 72.66 kB / 0.523 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.3816, allocations: 22.38 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3817, allocations: 4 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.3818, allocations: 68.45 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3818, allocations: 0 / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007451/0.3826, allocations: 236 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3826, allocations: 61.84 kB / 0.5233 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3828, allocations: 210.5 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3829, allocations: 30.55 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3829, allocations: 108.9 kB / 0.5237 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.383, allocations: 41.3 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.383, allocations: 27.53 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3832, allocations: 324.5 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.3833, allocations: 31.42 kB / 0.5241 GB, free: 15.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.3834, allocations: 43.19 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3835, allocations: 83.2 kB / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3835, allocations: 0 / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002219/0.3838, allocations: 125.4 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3838, allocations: 6.375 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3838, allocations: 0.7031 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3838, allocations: 5.438 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.3839, allocations: 32.69 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3839, allocations: 1.438 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.384, allocations: 6.641 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.384, allocations: 4.375 kB / 0.5244 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 (13): * Single equations (assignments): 13 * 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.0001191/0.3841, allocations: 128.4 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3841, allocations: 9.484 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.3842, allocations: 23.14 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3842, allocations: 5.438 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3842, allocations: 0 / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3842, allocations: 2.016 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.3848, allocations: 453.5 kB / 0.525 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3849, allocations: 2.094 kB / 0.525 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.3849, allocations: 13.25 kB / 0.525 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3849, allocations: 2.031 kB / 0.525 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3849, allocations: 3.25 kB / 0.525 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3849, allocations: 9.188 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3849, allocations: 9.047 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3852, allocations: 240.6 kB / 0.5252 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.3853, allocations: 84.98 kB / 0.5253 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.3853, allocations: 3.484 kB / 0.5253 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3854, allocations: 7.141 kB / 0.5253 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3854, allocations: 7.781 kB / 0.5253 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3855, allocations: 10.2 kB / 0.5253 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3856, allocations: 158.9 kB / 0.5255 GB, free: 14.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3856, allocations: 0 / 0.5255 GB, free: 14.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3859, allocations: 35.23 kB / 0.5255 GB, free: 14.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001606/0.3875, allocations: 1.18 MB / 0.5267 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3877, allocations: 81.61 kB / 0.5267 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3877, allocations: 0 / 0.5267 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.3878, allocations: 42 kB / 0.5268 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3882, allocations: 25.53 kB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.39, allocations: 1.788 MB / 0.5286 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.3903, allocations: 0.7159 MB / 0.5293 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.3904, allocations: 27.78 kB / 0.5293 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.3905, allocations: 41.03 kB / 0.5293 GB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3905, allocations: 5.188 kB / 0.5293 GB, free: 10.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.41, allocations: 3.801 MB / 0.533 GB, free: 9.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.045, allocations: 3.75 kB / 0.533 GB, free: 9.234 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches