Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.00164, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5492, allocations: 62.44 MB / 0.5311 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004092/0.5534, allocations: 1.729 MB / 0.5328 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.5554, allocations: 1.017 MB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.5556, allocations: 1.375 kB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.556, allocations: 50.75 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.5563, allocations: 99.03 kB / 0.5339 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.5565, allocations: 67 kB / 0.534 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.5568, allocations: 114.2 kB / 0.5341 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.5569, allocations: 6.875 kB / 0.5341 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.557, allocations: 46.84 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.5571, allocations: 29.42 kB / 0.5342 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.5572, allocations: 12.11 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.5573, allocations: 40.36 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.5574, allocations: 22.48 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.5574, allocations: 35.83 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.5577, allocations: 127.1 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5577, allocations: 0 / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5578, allocations: 1.156 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.5578, allocations: 0 / 0.5344 GB, free: 11.28 MB / 398.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.0006447/0.5584, allocations: 429.2 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5585, allocations: 8.594 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.5585, allocations: 13.61 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.5588, allocations: 217.4 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5589, allocations: 2.344 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.5589, allocations: 6.656 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.5591, allocations: 57.48 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5591, allocations: 0 / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5591, allocations: 1.156 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5591, allocations: 1.188 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.5592, allocations: 17.64 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.5596, allocations: 290.8 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.5598, allocations: 58.05 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.5599, allocations: 18.11 kB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.56, allocations: 1.125 kB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.5601, allocations: 73.03 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.5601, allocations: 0 / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006328/0.5608, allocations: 181.8 kB / 0.5357 GB, free: 9.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.5608, allocations: 52.78 kB / 0.5358 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.5611, allocations: 193.1 kB / 0.5359 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.5611, allocations: 34.72 kB / 0.536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.5612, allocations: 100.7 kB / 0.5361 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.5613, allocations: 27.97 kB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.5613, allocations: 21.03 kB / 0.5361 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5615, allocations: 329.5 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.5616, allocations: 19.55 kB / 0.5364 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.5617, allocations: 43.89 kB / 0.5365 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.5619, allocations: 62.23 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5619, allocations: 5.406 kB / 0.5366 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002307/0.5621, allocations: 103.1 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5621, allocations: 4.875 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5622, allocations: 1.031 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.5622, allocations: 1.281 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5623, allocations: 24.58 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5624, allocations: 1.469 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.5624, allocations: 5.219 kB / 0.5367 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.5624, allocations: 8.094 kB / 0.5367 GB, free: 9.105 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.0001742/0.5626, allocations: 131 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.5627, allocations: 12.44 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.5627, allocations: 14.62 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5628, allocations: 1.188 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5628, allocations: 5.172 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5628, allocations: 3.938 kB / 0.5369 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.5634, allocations: 390.2 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5634, allocations: 1.344 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.5635, allocations: 6.719 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5635, allocations: 1.375 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.5635, allocations: 10.27 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5635, allocations: 0 / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5635, allocations: 1.125 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.5638, allocations: 204.9 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.5639, allocations: 88.11 kB / 0.5375 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.564, allocations: 13.95 kB / 0.5375 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.5641, allocations: 10.2 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.5641, allocations: 2.406 kB / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.5641, allocations: 3.781 kB / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.5643, allocations: 152.9 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5643, allocations: 0 / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.5646, allocations: 28.98 kB / 0.5377 GB, free: 8.141 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.001444/0.5661, allocations: 460.8 kB / 0.5382 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.5664, allocations: 57.64 kB / 0.5382 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5664, allocations: 4.062 kB / 0.5382 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.5665, allocations: 26.05 kB / 0.5383 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.5669, allocations: 36.59 kB / 0.5383 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.5675, allocations: 222.8 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5678, allocations: 0.7105 MB / 0.5392 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.5678, allocations: 14.59 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.5679, allocations: 14.69 kB / 0.5392 GB, free: 6.941 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5679, allocations: 0 / 0.5392 GB, free: 6.941 MB / 398.1 MB Notification: Performance of Templates: time 0.005582/0.5735, allocations: 1.749 MB / 0.5409 GB, free: 6.051 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches