Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009832/0.0009832, allocations: 95.5 kB / 21.2 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.001082/0.001082, allocations: 160.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.9945/0.9945, allocations: 177 MB / 204.8 MB, free: 5.578 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.284/0.284, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.938e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002504/0.002533, allocations: 1.638 MB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.003384, allocations: 0.537 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.003446, allocations: 3.938 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.003665, allocations: 19.8 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.00396, allocations: 87.55 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.004211, allocations: 83.7 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.004359, allocations: 71.7 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004462, allocations: 11.86 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.004521, allocations: 31.91 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.004576, allocations: 23.91 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004591, allocations: 8 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.004664, allocations: 27.94 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.004707, allocations: 15.92 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.004732, allocations: 4 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004878, allocations: 71.73 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.004882, allocations: 0 / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.004884, allocations: 0 / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.004889, allocations: 11.88 kB / 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.0004214/0.00531, allocations: 412.2 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.005351, allocations: 8.031 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.005397, allocations: 12.89 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005536, allocations: 144.4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.005547, allocations: 4.375 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.005568, allocations: 384 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005687, allocations: 54.95 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.005696, allocations: 192 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005707, allocations: 384 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.005716, allocations: 4.359 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.005747, allocations: 15.88 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.00604, allocations: 267.8 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.006213, allocations: 43.05 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.006234, allocations: 15.69 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.006252, allocations: 3.938 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.006274, allocations: 41.47 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006275, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003305/0.006606, allocations: 109.3 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.006636, allocations: 51.41 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.006748, allocations: 205.9 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.006758, allocations: 25.7 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.006807, allocations: 142.9 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.006825, allocations: 11.89 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.006856, allocations: 31.38 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006959, allocations: 0.4922 MB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.006974, allocations: 4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.006987, allocations: 8 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.007025, allocations: 27.67 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007026, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.474e-05/0.007101, allocations: 69.67 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007114, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007118, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007131, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.00718, allocations: 19.98 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.007186, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.007205, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.007211, allocations: 4 kB / 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 5.828e-05/0.00727, allocations: 156.6 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.00729, allocations: 11.89 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.007399, allocations: 70.09 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007401, allocations: 0 / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.007405, allocations: 0 / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007409, allocations: 3.984 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.007629, allocations: 325.4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.00763, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.007664, allocations: 15.92 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007667, allocations: 4 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007673, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007675, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007676, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.544e-05/0.007772, allocations: 207.8 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.007782, allocations: 7.953 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.007794, allocations: 256 / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.007826, allocations: 7.984 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.007855, allocations: 12 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.00786, allocations: 4 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.00792, allocations: 152.1 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00792, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.008088, allocations: 15.94 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.0008908/0.008979, allocations: 388.1 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.009081, allocations: 27.67 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.009082, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.009105, allocations: 19.69 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.009324, allocations: 21.61 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.009651, allocations: 182.5 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.009689, allocations: 75.33 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.009717, allocations: 7.984 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.009744, allocations: 12.5 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009745, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003277/0.01302, allocations: 1.243 MB / 386.6 MB, free: 10.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.1489552282728255]