Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 46.9 MB / 361.3 MB, free: 4.426 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 75.88 kB / 0.4971 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3669, allocations: 66.02 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00362/0.3705, allocations: 1.642 MB / 0.5632 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3717, allocations: 0.5654 MB / 0.5637 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.3718, allocations: 0 / 0.5637 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3721, allocations: 123.6 kB / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.3725, allocations: 131.5 kB / 0.564 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3729, allocations: 110.7 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.3731, allocations: 103.7 kB / 0.5642 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3732, allocations: 10.81 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.3733, allocations: 51.81 kB / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3735, allocations: 95.77 kB / 0.5643 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3735, allocations: 7.938 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3737, allocations: 47.97 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.3737, allocations: 27.91 kB / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3738, allocations: 35.69 kB / 0.5644 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.3741, allocations: 127.2 kB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3741, allocations: 0 / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3741, allocations: 0 / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.3741, allocations: 3.938 kB / 0.5646 GB, free: 1.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006884/0.3748, allocations: 369.3 kB / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3749, allocations: 8.031 kB / 0.5649 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3749, allocations: 16.84 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3752, allocations: 162.4 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3752, allocations: 4.375 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3752, allocations: 4.375 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3754, allocations: 58.23 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3754, allocations: 192 / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3754, allocations: 7.938 kB / 0.5652 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3754, allocations: 4 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3755, allocations: 27.92 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.3761, allocations: 279.9 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3762, allocations: 46.55 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.3762, allocations: 16.86 kB / 0.5655 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.3763, allocations: 8.016 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3763, allocations: 30.56 kB / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3763, allocations: 0 / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.3773, allocations: 253.4 kB / 0.5658 GB, free: 136 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3774, allocations: 55.41 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.3778, allocations: 267.8 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3778, allocations: 33.64 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.3779, allocations: 112.1 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.3779, allocations: 35.81 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.378, allocations: 25.7 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3782, allocations: 326.8 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3783, allocations: 31.97 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.3783, allocations: 32.05 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3785, allocations: 80.75 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3785, allocations: 4 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002412/0.3788, allocations: 109.6 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3788, allocations: 4 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3788, allocations: 96 / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3788, allocations: 3.984 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3789, allocations: 19.98 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3789, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.379, allocations: 11.98 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.379, allocations: 4 kB / 0.5669 GB, free: 14.93 MB / 414.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.0001215/0.3791, allocations: 147 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3791, allocations: 11.91 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.3795, allocations: 135 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3795, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3795, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3795, allocations: 3.938 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.3801, allocations: 402.3 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3801, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.3802, allocations: 23.98 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3802, allocations: 3.938 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3802, allocations: 7.938 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3802, allocations: 4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3802, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3805, allocations: 220.7 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3805, allocations: 15.91 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3806, allocations: 3.938 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.3806, allocations: 7.984 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.3807, allocations: 4 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3807, allocations: 11.92 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3809, allocations: 212.1 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3809, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3812, allocations: 27.88 kB / 0.5681 GB, free: 13.63 MB / 414.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: 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.001865/0.383, allocations: 450.7 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3833, allocations: 75.94 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3834, allocations: 0 / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3835, allocations: 35.92 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.384, allocations: 23.7 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.3848, allocations: 328.3 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3852, allocations: 0.7193 MB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.3853, allocations: 20.97 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.3854, allocations: 19.42 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.093e-06/0.3854, allocations: 0 / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005559/0.3909, allocations: 1.476 MB / 0.5711 GB, free: 10.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.348527664318681]