Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.002109/0.002109, allocations: 91.61 kB / 20.96 MB, free: 3.438 MB / 18.57 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.001999/0.001999, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 18.57 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.574/1.574, allocations: 177 MB / 204.5 MB, free: 5.641 MB / 186.7 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.3432/0.3432, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.726e-05, allocations: 7.094 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003492/0.003529, allocations: 1.613 MB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004761, allocations: 0.5448 MB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.004829, allocations: 0 / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.005077, allocations: 23.84 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.005397, allocations: 87.53 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.005734, allocations: 103.7 kB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.005903, allocations: 71.77 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.006, allocations: 12 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.006085, allocations: 31.91 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.006149, allocations: 19.92 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.006175, allocations: 0 / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.006264, allocations: 35.92 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.006319, allocations: 15.92 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.006355, allocations: 15.92 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.006553, allocations: 83.66 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.006557, allocations: 4 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006559, allocations: 0 / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006564, allocations: 0 / 379.9 MB, free: 240 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000782/0.007346, allocations: 423.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.007393, allocations: 12.02 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.007451, allocations: 12.89 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.007658, allocations: 141 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.007671, allocations: 384 / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.007695, allocations: 4.375 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.007829, allocations: 42.25 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.007842, allocations: 4.188 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.007855, allocations: 8.062 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.00786, allocations: 0 / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.007939, allocations: 15.98 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.008404, allocations: 291.8 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.008642, allocations: 47.05 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.008696, allocations: 19.7 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.008721, allocations: 11.92 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.008752, allocations: 33.39 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.008753, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005531/0.009306, allocations: 133.4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.009363, allocations: 51.41 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.009582, allocations: 233.6 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.009608, allocations: 25.7 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.009705, allocations: 150.8 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.009736, allocations: 19.89 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.009781, allocations: 23.38 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002711/0.01005, allocations: 0.4923 MB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.01011, allocations: 12 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.01016, allocations: 15.98 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.01027, allocations: 43.86 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01027, allocations: 4 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.01045, allocations: 81.5 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01046, allocations: 4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01047, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01048, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.01054, allocations: 8 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.01055, allocations: 7.922 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.01059, allocations: 11.94 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.01059, allocations: 4 kB / 382.2 MB, free: 13.68 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.0001213/0.01072, allocations: 160.6 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.01075, allocations: 15.84 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.01099, allocations: 86.06 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01099, allocations: 0 / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.011, allocations: 4 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.011, allocations: 0 / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.01146, allocations: 345.4 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01146, allocations: 0 / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.01151, allocations: 19.92 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01152, allocations: 4 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01152, allocations: 0 / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01153, allocations: 0 / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01153, allocations: 192 / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.01179, allocations: 231.8 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.0118, allocations: 3.953 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.01183, allocations: 4 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.01189, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.01193, allocations: 7.984 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01193, allocations: 4 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.01206, allocations: 163.2 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01206, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.0123, allocations: 16 kB / 383.3 MB, free: 12.55 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.00284/0.01514, allocations: 421.5 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.01534, allocations: 51.66 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01534, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.01542, allocations: 31.69 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.01573, allocations: 23.86 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.01624, allocations: 206.2 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.01635, allocations: 79.31 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.01641, allocations: 15.97 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.01645, allocations: 12.5 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01645, allocations: 4 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of Templates: time 0.004503/0.02096, allocations: 1.177 MB / 385.3 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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: 4.850490184966475]