Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.00123/0.00123, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.336/1.336, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.209/0.209, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3771, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003061/0.3803, allocations: 1.714 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3823, allocations: 1.484 MB / 0.5228 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.3824, allocations: 1 kB / 0.5228 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3827, allocations: 36.25 kB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.383, allocations: 52.44 kB / 0.5229 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.3834, allocations: 117.6 kB / 0.523 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3835, allocations: 105.3 kB / 0.5231 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.3836, allocations: 11.83 kB / 0.5231 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.3837, allocations: 46.78 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3839, allocations: 41.83 kB / 0.5232 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3839, allocations: 5.844 kB / 0.5232 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3841, allocations: 62.72 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.3842, allocations: 20.77 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.3842, allocations: 38.78 kB / 0.5233 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.3845, allocations: 126.9 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3845, allocations: 0.8438 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3845, allocations: 1.344 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3845, allocations: 0 / 0.5234 GB, free: 1.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005286/0.3851, allocations: 414.5 kB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3851, allocations: 8.844 kB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.3852, allocations: 13.28 kB / 0.5238 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3855, allocations: 210.1 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3855, allocations: 5.375 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3855, allocations: 2.531 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3857, allocations: 79.84 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3857, allocations: 3.938 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3857, allocations: 1.859 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3857, allocations: 1.281 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.3858, allocations: 28.09 kB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3862, allocations: 296.6 kB / 0.5244 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3864, allocations: 71.48 kB / 0.5245 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.3865, allocations: 32.3 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3865, allocations: 5.281 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.3867, allocations: 77.08 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3867, allocations: 0 / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006505/0.3874, allocations: 196 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.3875, allocations: 83.44 kB / 0.5249 GB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3876, allocations: 162.2 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3877, allocations: 31.05 kB / 0.5251 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3877, allocations: 95.75 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.3878, allocations: 31.94 kB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3878, allocations: 26.14 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.388, allocations: 322.7 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.388, allocations: 24.48 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.3881, allocations: 49.5 kB / 0.5256 GB, free: 15.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3883, allocations: 69.27 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3883, allocations: 0 / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002167/0.3885, allocations: 113.3 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3885, allocations: 4.469 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3885, allocations: 1.219 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3885, allocations: 5.031 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.3886, allocations: 22.16 kB / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3887, allocations: 0 / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.3887, allocations: 7.406 kB / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3887, allocations: 8.453 kB / 0.5258 GB, free: 14.98 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 (11): * Single equations (assignments): 11 * 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.0001123/0.3889, allocations: 121.9 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.3889, allocations: 14.34 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.389, allocations: 17.67 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.389, allocations: 1.406 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.389, allocations: 1.953 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.389, allocations: 0.6094 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.3895, allocations: 418.7 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3895, allocations: 0 / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.3896, allocations: 14.03 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3896, allocations: 1.984 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3896, allocations: 11.02 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3896, allocations: 1.125 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3896, allocations: 1.062 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3899, allocations: 216.5 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.3899, allocations: 84.17 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.39, allocations: 7.109 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.39, allocations: 2.953 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3901, allocations: 7.125 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3901, allocations: 8.547 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3902, allocations: 124.9 kB / 0.5268 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3902, allocations: 0 / 0.5268 GB, free: 14.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.3905, allocations: 32.69 kB / 0.5268 GB, free: 14.09 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 (9): * Single equations (assignments): 7 * 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.001196/0.3917, allocations: 0.4956 MB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.392, allocations: 74.64 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.392, allocations: 0 / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.3921, allocations: 36.11 kB / 0.5274 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3925, allocations: 35.55 kB / 0.5275 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.393, allocations: 235.5 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3933, allocations: 0.7019 MB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.3933, allocations: 23.14 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3933, allocations: 0 / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Templates: time 0.005327/0.3987, allocations: 2.168 MB / 0.5305 GB, free: 12.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches