Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.002065/0.002064, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2153/0.2153, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4682, allocations: 60.82 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003376/0.4716, allocations: 1.706 MB / 0.5207 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.473, allocations: 0.8791 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.4731, allocations: 0.9062 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.4734, allocations: 27.06 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.4737, allocations: 59.86 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.474, allocations: 117.7 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.4742, allocations: 91.7 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4743, allocations: 16.33 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.4744, allocations: 45.44 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.4745, allocations: 25.94 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.4745, allocations: 4.5 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.4746, allocations: 41.77 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.4747, allocations: 22.11 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.4748, allocations: 34.42 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.4751, allocations: 114.2 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4751, allocations: 1.312 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4751, allocations: 0 / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.4751, allocations: 4 kB / 0.5221 GB, free: 1.555 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.0007056/0.4758, allocations: 405.7 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.4759, allocations: 9.031 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.476, allocations: 10.48 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.4763, allocations: 206.1 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4763, allocations: 1.531 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.4764, allocations: 11.06 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4765, allocations: 61.25 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.4766, allocations: 5.062 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.4766, allocations: 0.75 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4766, allocations: 5.125 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4767, allocations: 17.95 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.4772, allocations: 287.7 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.4774, allocations: 71.97 kB / 0.5231 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.4774, allocations: 19.89 kB / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4775, allocations: 0 / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.4776, allocations: 66.22 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.4776, allocations: 1.5 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006036/0.4783, allocations: 171.9 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.4783, allocations: 64.84 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4785, allocations: 182.4 kB / 0.5236 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4785, allocations: 30.92 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.4786, allocations: 99.23 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.4786, allocations: 26.84 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.4786, allocations: 22.09 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4788, allocations: 325.7 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.4789, allocations: 22.31 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.479, allocations: 42.17 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4791, allocations: 66.22 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4791, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.4793, allocations: 97.19 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4793, allocations: 6.109 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4794, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4794, allocations: 5.156 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.4795, allocations: 15.84 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4795, allocations: 1.688 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.4796, allocations: 10.91 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4796, allocations: 2.375 kB / 0.5244 GB, free: 15.54 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.0001084/0.4797, allocations: 126.2 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4797, allocations: 13.12 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.4798, allocations: 15.56 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4798, allocations: 1.953 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4798, allocations: 4.188 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4798, allocations: 4.641 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.4803, allocations: 394.2 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4803, allocations: 4.781 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.4803, allocations: 7.766 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4804, allocations: 2.828 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4804, allocations: 10.47 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4804, allocations: 4 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4804, allocations: 6 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.4806, allocations: 201.3 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.4807, allocations: 83.53 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.4807, allocations: 11.95 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.4808, allocations: 1.406 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.4808, allocations: 7.828 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.4809, allocations: 7.062 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.481, allocations: 146.7 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.481, allocations: 0 / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.4813, allocations: 22.34 kB / 0.5254 GB, free: 14.65 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.001172/0.4825, allocations: 462.6 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4827, allocations: 64.94 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4827, allocations: 0 / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.774e-05/0.4828, allocations: 32.58 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4832, allocations: 30.98 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.4837, allocations: 218.2 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4841, allocations: 0.7083 MB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.348e-05/0.4842, allocations: 13.97 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.4843, allocations: 16.56 kB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4843, allocations: 0 / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.005018/0.4893, allocations: 1.712 MB / 0.5285 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches