Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 112.6 kB / 18.45 MB, free: 4.594 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.001113/0.001113, allocations: 183.2 kB / 19.38 MB, free: 3.672 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.368/1.368, allocations: 222.9 MB / 243.1 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.216/0.216, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3756, allocations: 60.82 MB / 0.5197 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00285/0.3785, allocations: 1.705 MB / 0.5213 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3798, allocations: 0.8846 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.3799, allocations: 1.125 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3802, allocations: 36.52 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.3804, allocations: 68.47 kB / 0.5223 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3808, allocations: 112.8 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.381, allocations: 93 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3811, allocations: 15.12 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.3812, allocations: 46.33 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3813, allocations: 26.28 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3813, allocations: 3.406 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.3814, allocations: 42.59 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.3814, allocations: 28 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.3815, allocations: 42.19 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3817, allocations: 134 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3818, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3818, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3818, allocations: 0 / 0.5228 GB, free: 1.547 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.0004841/0.3823, allocations: 450.4 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3823, allocations: 10.03 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.3824, allocations: 14.59 kB / 0.5233 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.3826, allocations: 215.5 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3826, allocations: 9.594 kB / 0.5235 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3827, allocations: 7.125 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3829, allocations: 57.53 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3829, allocations: 1.656 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3829, allocations: 0.75 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3829, allocations: 4 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.383, allocations: 18.52 kB / 0.5236 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3834, allocations: 297.8 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3836, allocations: 60.56 kB / 0.5239 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.3837, allocations: 19.92 kB / 0.5239 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3837, allocations: 5.344 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3839, allocations: 66.31 kB / 0.524 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3839, allocations: 4 kB / 0.524 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005973/0.3845, allocations: 186.7 kB / 0.5242 GB, free: 328 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.3845, allocations: 56.41 kB / 0.5242 GB, free: 260 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3848, allocations: 258.6 kB / 0.5245 GB, free: 112 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3849, allocations: 27.05 kB / 0.5245 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.3849, allocations: 115 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.385, allocations: 30.53 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.385, allocations: 25.48 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3852, allocations: 333.5 kB / 0.525 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.3853, allocations: 20.86 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.3854, allocations: 38.98 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3855, allocations: 58.92 kB / 0.5251 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3855, allocations: 0 / 0.5251 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.3857, allocations: 105.9 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3857, allocations: 6.266 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3857, allocations: 1.781 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3857, allocations: 0 / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.3858, allocations: 15.25 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3858, allocations: 1.812 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.3859, allocations: 6.453 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3859, allocations: 8.375 kB / 0.5252 GB, free: 15.46 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.0001222/0.386, allocations: 135.6 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3861, allocations: 20.39 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.3862, allocations: 18.73 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3862, allocations: 0.8906 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3862, allocations: 1.312 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.3862, allocations: 88.3 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.3863, allocations: 6.031 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.3863, allocations: 8.297 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.3864, allocations: 12.56 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002378/0.3866, allocations: 169.4 kB / 0.5257 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003058/0.3869, allocations: 293.3 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.117e-05/0.387, allocations: 30.67 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.3873, allocations: 199.9 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Backend: time 5.91e-07/0.3873, allocations: 192 / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.389, allocations: 0.496 MB / 0.5267 GB, free: 14.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.000912/0.3899, allocations: 0.7103 MB / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.005144/0.3951, allocations: 1.79 MB / 0.5291 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches