Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.001588/0.001588, allocations: 112.8 kB / 17.77 MB, free: 5.371 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.001795/0.001796, allocations: 180.9 kB / 18.7 MB, free: 4.453 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.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2264/0.2264, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3716, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002737/0.3743, allocations: 1.884 MB / 0.5204 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3757, allocations: 0.9927 MB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.3758, allocations: 10.16 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.3763, allocations: 251.3 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.3767, allocations: 184.2 kB / 0.5218 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.3771, allocations: 179 kB / 0.5219 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.3775, allocations: 254.6 kB / 0.5222 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3776, allocations: 32.08 kB / 0.5222 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3778, allocations: 130 kB / 0.5223 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.378, allocations: 182 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.3781, allocations: 8.156 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3782, allocations: 62.88 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.3783, allocations: 62.59 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.3784, allocations: 91.22 kB / 0.5227 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3787, allocations: 247.2 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3787, allocations: 0 / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3787, allocations: 0 / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3787, allocations: 1.312 kB / 0.5229 GB, free: 0.6953 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006817/0.3794, allocations: 0.5815 MB / 0.5235 GB, free: 176 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3795, allocations: 10.09 kB / 0.5235 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.3795, allocations: 42.94 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.3796, allocations: 35.41 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.38, allocations: 288.9 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.38, allocations: 12.06 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.38, allocations: 10.55 kB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3803, allocations: 110.3 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3803, allocations: 5.5 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3803, allocations: 0.6094 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3804, allocations: 2.719 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3805, allocations: 46.59 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3811, allocations: 481.9 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.3815, allocations: 121.3 kB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3816, allocations: 51.39 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3817, allocations: 2.094 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.3819, allocations: 114.8 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.918e-06/0.3819, allocations: 3.984 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001333/0.3833, allocations: 0.509 MB / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3834, allocations: 80.61 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.3839, allocations: 484.3 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3839, allocations: 32.84 kB / 0.5259 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3841, allocations: 161.1 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.3842, allocations: 72.52 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.3843, allocations: 41.52 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3844, allocations: 353.2 kB / 0.5265 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3846, allocations: 52.17 kB / 0.5265 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3847, allocations: 100.5 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.385, allocations: 163.9 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.385, allocations: 0 / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004217/0.3855, allocations: 244.2 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3855, allocations: 5.5 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3855, allocations: 5.375 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3855, allocations: 3.406 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3857, allocations: 44.05 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3857, allocations: 1.375 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.3858, allocations: 17.41 kB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3858, allocations: 7.766 kB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000171/0.386, allocations: 170.7 kB / 0.5272 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.386, allocations: 42.83 kB / 0.5273 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.336e-05/0.3861, allocations: 45.84 kB / 0.5273 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3861, allocations: 2.75 kB / 0.5273 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.3862, allocations: 1.938 kB / 0.5273 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3862, allocations: 1.359 kB / 0.5273 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3872, allocations: 0.7381 MB / 0.528 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3872, allocations: 1.719 kB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.3873, allocations: 31.27 kB / 0.5281 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3873, allocations: 2.219 kB / 0.5281 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3873, allocations: 8.656 kB / 0.5281 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3873, allocations: 2.719 kB / 0.5281 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3873, allocations: 5.156 kB / 0.5281 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.3878, allocations: 426 kB / 0.5285 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.3879, allocations: 101.8 kB / 0.5286 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.388, allocations: 11.95 kB / 0.5286 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3881, allocations: 8.969 kB / 0.5286 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3882, allocations: 20.67 kB / 0.5286 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.3882, allocations: 17.3 kB / 0.5287 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.3886, allocations: 354.5 kB / 0.529 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.3886, allocations: 0 / 0.529 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.3889, allocations: 57.08 kB / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002602/0.3915, allocations: 1.364 MB / 0.5304 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.3919, allocations: 166.4 kB / 0.5305 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.392, allocations: 1.125 kB / 0.5305 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.3921, allocations: 82.81 kB / 0.5306 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.3927, allocations: 72.36 kB / 0.5307 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.3964, allocations: 2.94 MB / 0.5336 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3969, allocations: 0.7847 MB / 0.5343 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.397, allocations: 40.3 kB / 0.5344 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.3972, allocations: 102.4 kB / 0.5345 GB, free: 8.113 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3972, allocations: 0 / 0.5345 GB, free: 8.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.4273, allocations: 6.5 MB / 0.5408 GB, free: 4.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.787, allocations: 5.391 kB / 0.5408 GB, free: 4.805 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches