Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.000971/0.000971, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009609/0.0009609, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9605/0.9605, allocations: 177 MB / 204.8 MB, free: 5.574 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.2835/0.2835, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.069e-05, allocations: 2.875 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002731/0.002751, allocations: 1.637 MB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.003701, allocations: 0.5408 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.003761, allocations: 4 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.003986, allocations: 23.8 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.004283, allocations: 75.61 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.004562, allocations: 119.5 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.004718, allocations: 63.84 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.004824, allocations: 15.78 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.004893, allocations: 31.91 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.004955, allocations: 19.92 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.00497, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.005045, allocations: 27.98 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.005097, allocations: 19.92 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.005126, allocations: 11.94 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.005286, allocations: 63.75 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005288, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.00529, allocations: 3.984 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.005294, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.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.0004709/0.005765, allocations: 416.1 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.005812, allocations: 12.03 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.00586, allocations: 12.89 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.006018, allocations: 132.5 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.006029, allocations: 8.312 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.006048, allocations: 384 / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.006182, allocations: 58.95 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.006192, allocations: 192 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.006202, allocations: 384 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.00621, allocations: 384 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.006251, allocations: 19.86 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.006581, allocations: 271.8 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.006766, allocations: 43.06 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.006796, allocations: 15.77 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.006816, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.006842, allocations: 37.33 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006843, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004019/0.007245, allocations: 109.3 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.007284, allocations: 55.41 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.007426, allocations: 197.9 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.007439, allocations: 25.7 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.007509, allocations: 138.9 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.007538, allocations: 31.78 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.007577, allocations: 19.38 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.007729, allocations: 0.4923 MB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.00775, allocations: 4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.007767, allocations: 8 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.00781, allocations: 19.69 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007813, allocations: 3.984 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.007913, allocations: 61.53 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.007926, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007931, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.007944, allocations: 4 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.008003, allocations: 19.98 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.008008, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.008033, allocations: 4 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.00804, allocations: 256 / 383.6 MB, free: 13.01 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 7.992e-05/0.00812, allocations: 156.6 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.008153, allocations: 19.89 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.008292, allocations: 70.03 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008294, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008298, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.008303, allocations: 4.266 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.0086, allocations: 325.4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008602, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.00865, allocations: 11.98 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.008654, allocations: 4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008663, allocations: 3.984 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008664, allocations: 0 / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.008667, allocations: 3.938 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.008819, allocations: 207.8 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.008831, allocations: 7.953 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.008845, allocations: 0 / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.39e-05/0.008899, allocations: 8 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.008936, allocations: 7.984 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.00894, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.009021, allocations: 154.2 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009021, allocations: 0 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.009278, allocations: 12 kB / 384.6 MB, free: 11.96 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.001064/0.01034, allocations: 370.6 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.01047, allocations: 31.61 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01047, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.0105, allocations: 23.81 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.01082, allocations: 27.16 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.01119, allocations: 174.6 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.01125, allocations: 67.34 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.0113, allocations: 19.91 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.01134, allocations: 16.48 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01134, allocations: 3.938 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.004037/0.01537, allocations: 1.255 MB / 386.6 MB, free: 10.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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: 3.133389696944505]