Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001385/0.001385, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.53/1.53, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2157/0.2157, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4725, allocations: 60.82 MB / 0.519 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003404/0.4759, allocations: 1.718 MB / 0.5207 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.4773, allocations: 0.8761 MB / 0.5215 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.4774, allocations: 4.969 kB / 0.5215 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.4778, allocations: 74.41 kB / 0.5216 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.4782, allocations: 79.03 kB / 0.5217 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.4786, allocations: 105.3 kB / 0.5218 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.4789, allocations: 110.9 kB / 0.5219 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.479, allocations: 15.92 kB / 0.5219 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.4791, allocations: 46.91 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4793, allocations: 62.47 kB / 0.522 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.4793, allocations: 3.688 kB / 0.522 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.4794, allocations: 45.91 kB / 0.522 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.4795, allocations: 21.69 kB / 0.5221 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.4796, allocations: 32.92 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.4799, allocations: 130.6 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.4799, allocations: 0.7031 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4799, allocations: 4 kB / 0.5222 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4799, allocations: 0 / 0.5222 GB, free: 1.551 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.0006436/0.4806, allocations: 419.7 kB / 0.5226 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4806, allocations: 10.97 kB / 0.5226 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.4807, allocations: 9.25 kB / 0.5226 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.481, allocations: 211.5 kB / 0.5228 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.481, allocations: 1.812 kB / 0.5228 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4811, allocations: 7.812 kB / 0.5228 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.4813, allocations: 61.94 kB / 0.5229 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4813, allocations: 0 / 0.5229 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4813, allocations: 2 kB / 0.5229 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4813, allocations: 0 / 0.5229 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.4814, allocations: 22.25 kB / 0.5229 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4819, allocations: 285.5 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.4821, allocations: 68.23 kB / 0.5233 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.4822, allocations: 19.05 kB / 0.5233 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.4822, allocations: 1.797 kB / 0.5233 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.4824, allocations: 69.97 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.4824, allocations: 0 / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007232/0.4831, allocations: 169.8 kB / 0.5235 GB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4832, allocations: 56.02 kB / 0.5236 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.4835, allocations: 215 kB / 0.5238 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4835, allocations: 31.23 kB / 0.5238 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.4836, allocations: 104.5 kB / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4836, allocations: 25.8 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.4837, allocations: 26.47 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4839, allocations: 326.3 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.4839, allocations: 21.34 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.484, allocations: 43.83 kB / 0.5243 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4841, allocations: 53.56 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4841, allocations: 1.719 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.4843, allocations: 105.2 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4844, allocations: 5.375 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.4844, allocations: 3.984 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4844, allocations: 5.812 kB / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.4845, allocations: 16.45 kB / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4845, allocations: 0 / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4846, allocations: 6.141 kB / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4846, allocations: 3.516 kB / 0.5245 GB, free: 15.53 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.0001132/0.4847, allocations: 132.1 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4847, allocations: 14.77 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.4848, allocations: 16.5 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4848, allocations: 2.031 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4848, allocations: 4.797 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4848, allocations: 3.938 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.4853, allocations: 398.2 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4853, allocations: 0 / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.4853, allocations: 8.469 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4854, allocations: 1 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4854, allocations: 14.14 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4854, allocations: 1.312 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4854, allocations: 5.312 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.4856, allocations: 200.5 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.4857, allocations: 90.19 kB / 0.5254 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.4857, allocations: 10.38 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.4858, allocations: 6.641 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4859, allocations: 6.188 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.4859, allocations: 7.844 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.486, allocations: 160 kB / 0.5256 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4861, allocations: 1.188 kB / 0.5256 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.4863, allocations: 26.19 kB / 0.5256 GB, free: 14.62 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.001217/0.4875, allocations: 464.8 kB / 0.526 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.4878, allocations: 67.58 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4878, allocations: 1.125 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.4879, allocations: 24.34 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.4883, allocations: 26.34 kB / 0.5261 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.489, allocations: 244.8 kB / 0.5264 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.4893, allocations: 0.7085 MB / 0.5271 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.4894, allocations: 17.09 kB / 0.5271 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.4894, allocations: 16.56 kB / 0.5271 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4895, allocations: 0 / 0.5271 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.00514/0.4946, allocations: 1.75 MB / 0.5288 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches