Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 122.8 kB / 17.79 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.001441/0.001441, allocations: 202 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.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.458, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003848/0.462, allocations: 1.617 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.4644, allocations: 1.166 MB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4645, allocations: 1.375 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.4649, allocations: 23.97 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.4653, allocations: 85.73 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.4657, allocations: 86.47 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.466, allocations: 82 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.4662, allocations: 21.61 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.4663, allocations: 26.92 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.4666, allocations: 36.2 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.4666, allocations: 8.062 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.4669, allocations: 100.1 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.4669, allocations: 16.05 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.467, allocations: 34.67 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.4674, allocations: 152.3 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4674, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4674, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.4674, allocations: 0 / 0.5344 GB, free: 11.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006663/0.4681, allocations: 422.1 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4681, allocations: 9.625 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.4682, allocations: 9.016 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4685, allocations: 189.9 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4685, allocations: 7.125 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.4685, allocations: 7.125 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.4687, allocations: 71.77 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4687, allocations: 1.312 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4687, allocations: 4 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4687, allocations: 5.281 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.4689, allocations: 34.17 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.4693, allocations: 310.6 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.4695, allocations: 51.84 kB / 0.5354 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.4695, allocations: 21.19 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.4696, allocations: 1.375 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4696, allocations: 31.81 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4696, allocations: 0 / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006999/0.4703, allocations: 178.7 kB / 0.5357 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4704, allocations: 78.3 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4705, allocations: 159.9 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4706, allocations: 26.83 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.4706, allocations: 99.38 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.4707, allocations: 23.44 kB / 0.536 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.4708, allocations: 28.27 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4709, allocations: 321.1 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.471, allocations: 21.55 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.4711, allocations: 39.03 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.4713, allocations: 64.11 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4713, allocations: 8.344 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002334/0.4715, allocations: 99.34 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4716, allocations: 8 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4716, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4716, allocations: 1.375 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4717, allocations: 28.83 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4717, allocations: 5.156 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.4718, allocations: 7.188 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4718, allocations: 6.219 kB / 0.5366 GB, free: 8.852 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001025/0.4719, allocations: 122.4 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.472, allocations: 8.547 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.4723, allocations: 118.4 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4723, allocations: 1.344 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4723, allocations: 0 / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4723, allocations: 3.938 kB / 0.5369 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.4728, allocations: 392.4 kB / 0.5373 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4728, allocations: 0 / 0.5373 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.4729, allocations: 17.36 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4729, allocations: 4.969 kB / 0.5373 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4729, allocations: 5 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4729, allocations: 1 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4729, allocations: 0 / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4732, allocations: 202.6 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4733, allocations: 88.64 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4733, allocations: 3.938 kB / 0.5376 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.4734, allocations: 7.844 kB / 0.5376 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.4734, allocations: 6.578 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4734, allocations: 2.969 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4735, allocations: 111.8 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4736, allocations: 5 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.4739, allocations: 46.17 kB / 0.5377 GB, free: 7.848 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001152/0.475, allocations: 492.2 kB / 0.5382 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4753, allocations: 66.86 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4753, allocations: 0 / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.4754, allocations: 37.56 kB / 0.5383 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4757, allocations: 19.64 kB / 0.5383 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.4762, allocations: 192.7 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.4765, allocations: 0.6919 MB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.4766, allocations: 22.86 kB / 0.5392 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.4767, allocations: 22.95 kB / 0.5392 GB, free: 6.645 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4767, allocations: 7.938 kB / 0.5392 GB, free: 6.637 MB / 398.1 MB Notification: Performance of Templates: time 0.004727/0.4814, allocations: 1.838 MB / 0.541 GB, free: 5.688 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches