Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.0009477/0.0009477, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009816/0.0009816, allocations: 165.6 kB / 24.91 MB, free: 8.77 MB / 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 0.9391/0.9391, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.2542/0.2542, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.204e-05, allocations: 4.906 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001858/0.00187, allocations: 1.65 MB / 327.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006573/0.002528, allocations: 0.5408 MB / 328.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.002571, allocations: 0 / 328.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.002783, allocations: 83.64 kB / 328.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.003014, allocations: 95.59 kB / 328.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.003217, allocations: 99.56 kB / 328.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.00334, allocations: 83.75 kB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.827e-05/0.003408, allocations: 16.67 kB / 328.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.003467, allocations: 43.89 kB / 328.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.003545, allocations: 55.86 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.003555, allocations: 4 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.003624, allocations: 43.94 kB / 328.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.003662, allocations: 19.92 kB / 328.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.003684, allocations: 19.91 kB / 328.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.003818, allocations: 83.67 kB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.003819, allocations: 4 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00382, allocations: 0 / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.475e-06/0.003823, allocations: 0 / 328.8 MB, free: 4.289 MB / 298.7 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.00027/0.004093, allocations: 317.6 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.004118, allocations: 16.03 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.004142, allocations: 4.938 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.004251, allocations: 142.3 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.004259, allocations: 4.375 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.004276, allocations: 4.375 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.408e-05/0.00435, allocations: 62.92 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004357, allocations: 192 / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.004363, allocations: 384 / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004367, allocations: 4.375 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.004387, allocations: 15.86 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.004563, allocations: 175.1 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.004606, allocations: 30.55 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.004618, allocations: 8.859 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.004631, allocations: 4 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.004646, allocations: 38.44 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.004647, allocations: 0 / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003541/0.005001, allocations: 137.5 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.005028, allocations: 59.47 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.005127, allocations: 189.8 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.005135, allocations: 25.7 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.005164, allocations: 100 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.005184, allocations: 27.8 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.005209, allocations: 17.7 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.005508, allocations: 326.8 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.005519, allocations: 4 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.005529, allocations: 8 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.005558, allocations: 28.78 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.005559, allocations: 0 / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.796e-05/0.005617, allocations: 69.81 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.005626, allocations: 12 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.00563, allocations: 0 / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.005638, allocations: 0 / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.005689, allocations: 15.98 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005691, allocations: 0 / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.005708, allocations: 7.938 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.005712, allocations: 0 / 330.6 MB, free: 2.305 MB / 298.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 (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 4.86e-05/0.005761, allocations: 116.6 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.005778, allocations: 15.92 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.005865, allocations: 79.12 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005866, allocations: 0 / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005868, allocations: 0 / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.00587, allocations: 4 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.006073, allocations: 247.5 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006075, allocations: 0 / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.006107, allocations: 19.92 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006108, allocations: 3.938 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.006113, allocations: 0 / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006115, allocations: 4 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006116, allocations: 4.031 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.503e-05/0.006191, allocations: 160.3 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.006199, allocations: 11.91 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006208, allocations: 0 / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.006241, allocations: 4 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.006263, allocations: 11.98 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006266, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.956e-05/0.006306, allocations: 60.06 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006306, allocations: 0 / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.006438, allocations: 20 kB / 331.3 MB, free: 1.488 MB / 298.7 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.0011/0.007538, allocations: 0.5616 MB / 331.9 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.059e-05/0.007609, allocations: 28.84 kB / 331.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.007614, allocations: 4 kB / 331.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.007635, allocations: 32.78 kB / 332 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.007778, allocations: 27.92 kB / 332 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.00804, allocations: 220 kB / 332.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.008074, allocations: 67.33 kB / 332.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.653e-05/0.0081, allocations: 12.98 kB / 332.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.008149, allocations: 67.36 kB / 332.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008149, allocations: 4.062 kB / 332.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of Templates: time 0.002696/0.01084, allocations: 1.481 MB / 333.8 MB, free: 15.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7462186659686267]