Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009297/0.0009297, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001086/0.001086, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.9746/0.9746, allocations: 177 MB / 205.2 MB, free: 5.582 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.2546/0.2546, allocations: 34.86 MB / 296.6 MB, free: 500 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.CombiTable1Ds.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.097e-05, allocations: 12.64 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002638/0.002659, allocations: 1.638 MB / 380.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.003572, allocations: 0.5292 MB / 381 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.003636, allocations: 4 kB / 381 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.003935, allocations: 83.58 kB / 381 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.004234, allocations: 95.64 kB / 381.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.004485, allocations: 95.58 kB / 381.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.004652, allocations: 83.75 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004754, allocations: 15.92 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.004834, allocations: 43.89 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.004936, allocations: 51.88 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.004953, allocations: 4 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.72e-05/0.005051, allocations: 43.92 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.005107, allocations: 19.92 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.00514, allocations: 15.92 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.005319, allocations: 91.59 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005322, allocations: 0 / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005322, allocations: 0 / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.005328, allocations: 4 kB / 381.6 MB, free: 15.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004822/0.00581, allocations: 431.9 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.005857, allocations: 12.03 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.005909, allocations: 16.89 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.006394, allocations: 150.6 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.006407, allocations: 4.375 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.006428, allocations: 384 / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.006562, allocations: 66.88 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006572, allocations: 192 / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006581, allocations: 384 / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.006591, allocations: 4.375 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.006632, allocations: 15.92 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.00697, allocations: 287.8 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.007045, allocations: 46.98 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.007073, allocations: 15.69 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.00709, allocations: 0 / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.007117, allocations: 45.27 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007118, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006393/0.007757, allocations: 165.4 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.007791, allocations: 51.41 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.007975, allocations: 234.6 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.007991, allocations: 29.7 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.008063, allocations: 154.8 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.008092, allocations: 23.8 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.008133, allocations: 31.31 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.008276, allocations: 0.4923 MB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.008309, allocations: 20.05 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.008333, allocations: 4 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.008397, allocations: 35.67 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008398, allocations: 4 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001228/0.008521, allocations: 77.53 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.008534, allocations: 4 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008539, allocations: 4 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.008553, allocations: 4 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.008649, allocations: 19.92 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.008654, allocations: 320 / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.008685, allocations: 4 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.008693, allocations: 0 / 384 MB, free: 12.9 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 (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 7.95e-05/0.008772, allocations: 160.6 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.00881, allocations: 15.84 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.008981, allocations: 91.11 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008984, allocations: 0 / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008987, allocations: 4 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008991, allocations: 4.359 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.009371, allocations: 373 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009373, allocations: 0 / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.009431, allocations: 15.98 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009434, allocations: 3.938 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.009445, allocations: 8 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.009448, allocations: 4 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.009449, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.009622, allocations: 251.4 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.009634, allocations: 7.953 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.009649, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.009713, allocations: 8 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.009748, allocations: 7.984 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.009753, allocations: 0 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.868e-05/0.009852, allocations: 167.9 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009852, allocations: 0 / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.01014, allocations: 23.88 kB / 385.1 MB, free: 11.7 MB / 362.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.001248/0.01139, allocations: 424.2 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.01153, allocations: 51.58 kB / 385.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01153, allocations: 0 / 385.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.01157, allocations: 27.67 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.01191, allocations: 20 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.01233, allocations: 226.2 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.076e-05/0.01238, allocations: 67.33 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.01243, allocations: 12.8 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.01247, allocations: 20.48 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01247, allocations: 4 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.004067/0.01653, allocations: 1.371 MB / 387.3 MB, free: 9.566 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.9974215058609843]