Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001418/0.001418, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001559/0.001559, allocations: 156.5 kB / 24.55 MB, free: 16 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.9463/0.9463, allocations: 177 MB / 204.8 MB, free: 5.605 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.2635/0.2635, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.975e-05, allocations: 4.984 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003345/0.003375, allocations: 1.634 MB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004397, allocations: 0.5292 MB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.004463, allocations: 7.938 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.004706, allocations: 23.8 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.005082, allocations: 83.55 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.005404, allocations: 87.69 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.005578, allocations: 71.78 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.005684, allocations: 15.84 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.005756, allocations: 27.92 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.005821, allocations: 15.91 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.00584, allocations: 4 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.005929, allocations: 35.92 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.005975, allocations: 7.938 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.006015, allocations: 19.91 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.006207, allocations: 67.75 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00621, allocations: 0 / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006211, allocations: 7.938 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.006217, allocations: 0 / 381.4 MB, free: 15.43 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.0004718/0.006689, allocations: 400.2 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.00673, allocations: 12.03 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.006782, allocations: 8.891 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.006947, allocations: 140.5 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.006963, allocations: 384 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.00699, allocations: 8.312 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.007131, allocations: 54.95 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007143, allocations: 192 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.007153, allocations: 4.375 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.007162, allocations: 8.375 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.007197, allocations: 15.86 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.007521, allocations: 263.8 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.007709, allocations: 43.05 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.007735, allocations: 19.61 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.007756, allocations: 4.078 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.007781, allocations: 41.39 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.007782, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003989/0.008181, allocations: 101.4 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.008211, allocations: 55.41 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.008321, allocations: 201.9 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.008331, allocations: 25.7 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.008391, allocations: 138.9 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.008415, allocations: 19.8 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.008446, allocations: 27.36 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.008573, allocations: 0.4884 MB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.00859, allocations: 7.984 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.008605, allocations: 4 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.008641, allocations: 23.69 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.008642, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.386e-05/0.008716, allocations: 69.52 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.00873, allocations: 8 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008735, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008749, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.008801, allocations: 11.98 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008806, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.008824, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.008828, allocations: 256 / 383.6 MB, free: 13.04 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.414e-05/0.008903, allocations: 160.6 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.008925, allocations: 15.89 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.009036, allocations: 70.08 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009039, allocations: 7.938 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.009042, allocations: 0 / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.009044, allocations: 0 / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.009272, allocations: 317.4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009274, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.009306, allocations: 15.94 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009308, allocations: 3.984 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.009315, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009316, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009317, allocations: 4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.009421, allocations: 207.8 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.009427, allocations: 7.953 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.009437, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.009466, allocations: 4 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.009498, allocations: 7.984 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.009503, allocations: 4 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.822e-05/0.009561, allocations: 146.3 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009561, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.009714, allocations: 15.98 kB / 384.6 MB, free: 12 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.0007562/0.01047, allocations: 385 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.01056, allocations: 23.69 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01057, allocations: 4 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.01059, allocations: 27.8 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.01079, allocations: 23.92 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.01108, allocations: 174.5 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.01112, allocations: 59.34 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.01115, allocations: 11.98 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.01117, allocations: 20.48 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01117, allocations: 0 / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003152/0.01432, allocations: 1.243 MB / 386.5 MB, free: 10.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.0697419880889356]