Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001421/0.001421, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.464/1.464, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2107/0.2107, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4714, allocations: 60.82 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003115/0.4745, allocations: 1.678 MB / 0.5206 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4759, allocations: 0.8609 MB / 0.5215 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.476, allocations: 3.938 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.4763, allocations: 46.94 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.4766, allocations: 64.11 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.4768, allocations: 107.4 kB / 0.5217 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.477, allocations: 96.03 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.4771, allocations: 4.656 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.4772, allocations: 37.05 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.4773, allocations: 36.38 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.4773, allocations: 3.219 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.4774, allocations: 26.97 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.4774, allocations: 26.92 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.4775, allocations: 37.06 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.4777, allocations: 119 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4777, allocations: 0 / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4777, allocations: 0 / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4777, allocations: 0 / 0.522 GB, free: 1.574 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005471/0.4783, allocations: 436.8 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4783, allocations: 10.95 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.4784, allocations: 10.45 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4786, allocations: 225.7 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4786, allocations: 1.5 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.4786, allocations: 10.89 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4788, allocations: 46.78 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4788, allocations: 0 / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4788, allocations: 0.7969 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4788, allocations: 1.094 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.4789, allocations: 18.34 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.479, allocations: 190 kB / 0.5229 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.4792, allocations: 56.08 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.4793, allocations: 21.78 kB / 0.523 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.4793, allocations: 1.859 kB / 0.523 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.4794, allocations: 68.16 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4794, allocations: 5.062 kB / 0.5231 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002757/0.4797, allocations: 97.19 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4797, allocations: 57.14 kB / 0.5232 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.48, allocations: 257.3 kB / 0.5235 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.48, allocations: 27.17 kB / 0.5235 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.48, allocations: 109.9 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.4801, allocations: 19.56 kB / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.4801, allocations: 24.22 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4802, allocations: 328 kB / 0.524 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.4803, allocations: 14.39 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.4803, allocations: 38.42 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.4804, allocations: 42.06 kB / 0.5241 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4804, allocations: 0 / 0.5241 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001622/0.4806, allocations: 94.72 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4806, allocations: 5.156 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4806, allocations: 0.75 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4806, allocations: 1.406 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.4807, allocations: 10.02 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4807, allocations: 1.891 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.4808, allocations: 2.844 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4808, allocations: 3.359 kB / 0.5242 GB, free: 15.66 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 (7): * Single equations (assignments): 7 * 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.0001126/0.4809, allocations: 135.7 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.4809, allocations: 18.73 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.481, allocations: 18.47 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.481, allocations: 1.844 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.481, allocations: 4 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.481, allocations: 1.219 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.4811, allocations: 193.7 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4811, allocations: 3.938 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.4812, allocations: 4.156 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4812, allocations: 0.5156 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4812, allocations: 5.766 kB / 0.5245 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4812, allocations: 1.25 kB / 0.5245 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4812, allocations: 4 kB / 0.5245 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4814, allocations: 111.7 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.4814, allocations: 87.64 kB / 0.5247 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4815, allocations: 6.016 kB / 0.5247 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.4815, allocations: 2.484 kB / 0.5247 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.4815, allocations: 8.594 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4815, allocations: 2.844 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4817, allocations: 203.5 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4817, allocations: 0 / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.4819, allocations: 23.56 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000971/0.4829, allocations: 404.5 kB / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.4831, allocations: 38.73 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4831, allocations: 1.781 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.4831, allocations: 19.16 kB / 0.5254 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4834, allocations: 34.86 kB / 0.5255 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.4839, allocations: 264.9 kB / 0.5257 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.4842, allocations: 0.7133 MB / 0.5264 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.4843, allocations: 18.73 kB / 0.5264 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.4843, allocations: 17.55 kB / 0.5264 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4843, allocations: 5.375 kB / 0.5264 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Templates: time 0.004988/0.4893, allocations: 1.509 MB / 0.5279 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches