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.0009603/0.0009603, allocations: 88.86 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.0009866/0.0009866, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9232/0.9232, allocations: 177 MB / 205.2 MB, free: 5.035 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.2773/0.2773, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.854e-06/1.854e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.33e-05, allocations: 2.312 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002763/0.002786, allocations: 1.633 MB / 327.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.00352, allocations: 0.5524 MB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.00357, allocations: 0 / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.003755, allocations: 23.84 kB / 328.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.00402, allocations: 79.56 kB / 328.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.004271, allocations: 107.6 kB / 328.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.004392, allocations: 79.69 kB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.004462, allocations: 4 kB / 328.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.004518, allocations: 35.91 kB / 328.4 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.004569, allocations: 19.92 kB / 328.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.00458, allocations: 0 / 328.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.00464, allocations: 27.98 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.004676, allocations: 19.92 kB / 328.5 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.004695, allocations: 8 kB / 328.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004816, allocations: 71.67 kB / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004818, allocations: 0 / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004818, allocations: 0 / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004822, allocations: 0 / 328.6 MB, free: 4.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002785/0.0051, allocations: 294.5 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.005129, allocations: 8.031 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.00515, allocations: 4.938 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.005262, allocations: 137.7 kB / 329 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.005269, allocations: 4.375 kB / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.005286, allocations: 384 / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.671e-05/0.005363, allocations: 58.88 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.00537, allocations: 192 / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.005376, allocations: 384 / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.005379, allocations: 384 / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.005399, allocations: 11.94 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.005579, allocations: 163.1 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.005692, allocations: 41.31 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.005708, allocations: 12.84 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.00572, allocations: 0 / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.005737, allocations: 30.56 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.005738, allocations: 0 / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002289/0.005967, allocations: 93.58 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.005992, allocations: 51.41 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.006072, allocations: 142.4 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.006082, allocations: 29.7 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.006111, allocations: 92.11 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.006133, allocations: 23.8 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.006159, allocations: 17.7 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.006229, allocations: 322.8 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.006238, allocations: 0 / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.006248, allocations: 8 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.006277, allocations: 23.67 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006278, allocations: 3.938 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.025e-05/0.006328, allocations: 49.86 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.006338, allocations: 9.25 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006343, allocations: 7.938 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.006352, allocations: 0 / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.592e-05/0.006388, allocations: 12 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.00639, allocations: 0 / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.006407, allocations: 7.984 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006411, allocations: 4 kB / 330.2 MB, free: 2.676 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 (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 4.939e-05/0.006461, allocations: 108.7 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.006475, allocations: 4 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.65e-05/0.006562, allocations: 70.02 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006564, allocations: 0 / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.006566, allocations: 4 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006568, allocations: 0 / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.006738, allocations: 206.8 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006739, allocations: 0 / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.006765, allocations: 15.92 kB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.006769, allocations: 7.938 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.006773, allocations: 0 / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006773, allocations: 0 / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006774, allocations: 0 / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.006842, allocations: 139.5 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.006851, allocations: 15.95 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.006861, allocations: 7.922 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.006888, allocations: 0 / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.006907, allocations: 4 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.00691, allocations: 192 / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.84e-05/0.006938, allocations: 39.64 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006938, allocations: 0 / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.007065, allocations: 12 kB / 330.8 MB, free: 1.992 MB / 298.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.001046/0.008112, allocations: 0.5058 MB / 331.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.245e-05/0.008174, allocations: 20.84 kB / 331.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.008177, allocations: 0 / 331.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/0.008195, allocations: 16.84 kB / 331.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.008333, allocations: 19.92 kB / 331.4 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.008576, allocations: 171.5 kB / 331.6 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.008607, allocations: 63.34 kB / 331.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.008633, allocations: 11.97 kB / 331.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.008679, allocations: 63.38 kB / 331.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008679, allocations: 0 / 331.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of Templates: time 0.002569/0.01125, allocations: 1.242 MB / 332.9 MB, free: 84 kB / 298.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: 2.7618916532956064]