Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001404/0.001404, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2222/0.2222, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4637, allocations: 60.83 MB / 0.519 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.005966/0.4698, allocations: 1.711 MB / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.4721, allocations: 0.879 MB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.4722, allocations: 1.125 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.4727, allocations: 39.92 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.473, allocations: 55.39 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.4735, allocations: 105.8 kB / 0.5217 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.4737, allocations: 100 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4739, allocations: 7.453 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.474, allocations: 45.86 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.4741, allocations: 34.09 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.4742, allocations: 4.5 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.4743, allocations: 42 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.4744, allocations: 17.72 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.4745, allocations: 41.78 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.4748, allocations: 106.8 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4748, allocations: 1.188 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4748, allocations: 0 / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4749, allocations: 0 / 0.5221 GB, free: 1.566 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.0007204/0.4756, allocations: 415.9 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.4757, allocations: 9.469 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.4757, allocations: 13.28 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.4761, allocations: 203.2 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4761, allocations: 5.438 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.4762, allocations: 6.828 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4764, allocations: 58.3 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4764, allocations: 5.031 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4765, allocations: 4.656 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4765, allocations: 5.062 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4766, allocations: 17.72 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.4771, allocations: 282.4 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.4774, allocations: 59.97 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.4775, allocations: 23.97 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.4775, allocations: 1.859 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4777, allocations: 69.86 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.4777, allocations: 0 / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008056/0.4786, allocations: 177 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.4786, allocations: 56.56 kB / 0.5234 GB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.4789, allocations: 186.8 kB / 0.5236 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4789, allocations: 30.83 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.479, allocations: 99.06 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.479, allocations: 26.84 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.4791, allocations: 25.8 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4793, allocations: 326.9 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.4794, allocations: 25.3 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.4795, allocations: 34.47 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.4797, allocations: 60.36 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4798, allocations: 0 / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002816/0.48, allocations: 103.9 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4801, allocations: 5.625 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4801, allocations: 0.6094 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.4801, allocations: 0.9062 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4803, allocations: 16.02 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4803, allocations: 4.781 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.4803, allocations: 8.859 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4804, allocations: 2.531 kB / 0.5244 GB, free: 15.56 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.0001582/0.4805, allocations: 127.8 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.4806, allocations: 14.61 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.4806, allocations: 14.67 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4807, allocations: 10.02 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4807, allocations: 0 / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4807, allocations: 4.547 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.4813, allocations: 394.5 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4813, allocations: 3.938 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.4814, allocations: 10.09 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4814, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4814, allocations: 6.188 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4814, allocations: 1.531 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4814, allocations: 2.844 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.4817, allocations: 212.1 kB / 0.5251 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.4818, allocations: 84.02 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.4819, allocations: 5.906 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.482, allocations: 10.86 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.4821, allocations: 7.031 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4821, allocations: 3.109 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.4823, allocations: 143.7 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4823, allocations: 4 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.4827, allocations: 26.48 kB / 0.5254 GB, free: 14.66 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.001646/0.4844, allocations: 462.2 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.4847, allocations: 60.83 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4847, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.4848, allocations: 33.89 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.4853, allocations: 25.08 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.486, allocations: 218.9 kB / 0.5262 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.4864, allocations: 0.7093 MB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.4865, allocations: 16.78 kB / 0.5269 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.4866, allocations: 16.52 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4866, allocations: 0 / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.006884/0.4935, allocations: 1.71 MB / 0.5285 GB, free: 12.97 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches