Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.0009399/0.0009399, 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.0009719/0.0009719, 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.9825/0.9825, allocations: 177 MB / 204.8 MB, free: 5.59 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.2729/0.2729, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.886e-05, allocations: 2.312 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002962/0.002991, allocations: 1.63 MB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.003957, allocations: 0.5447 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.004022, allocations: 8 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.004257, allocations: 23.83 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.004569, allocations: 79.56 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.004879, allocations: 115.5 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.005048, allocations: 67.83 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.005146, allocations: 11.86 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.005214, allocations: 31.91 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.005273, allocations: 19.92 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.005288, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.005368, allocations: 31.98 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.00542, allocations: 19.92 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.005457, allocations: 11.92 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.00563, allocations: 71.69 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005632, allocations: 0 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005633, allocations: 0 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005637, allocations: 0 / 381.4 MB, free: 15.39 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.0004495/0.006087, allocations: 420.1 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.006129, allocations: 8.031 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.006175, allocations: 12.89 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.00635, allocations: 144.4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.006363, allocations: 8.312 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.006389, allocations: 384 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006521, allocations: 62.94 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.006532, allocations: 192 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006541, allocations: 384 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.00655, allocations: 4.359 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.006587, allocations: 11.94 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.00694, allocations: 271.8 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.007117, allocations: 50.98 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.007145, allocations: 11.69 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.007166, allocations: 0 / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.007189, allocations: 33.39 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00719, allocations: 0 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003982/0.007589, allocations: 113.4 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.00762, allocations: 51.41 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.007773, allocations: 201.9 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.007786, allocations: 29.7 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.007848, allocations: 146.8 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.007871, allocations: 15.89 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.007909, allocations: 23.38 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.008051, allocations: 0.4923 MB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.008074, allocations: 4 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.008093, allocations: 11.94 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.837e-05/0.008142, allocations: 27.67 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.008143, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.008243, allocations: 61.55 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008256, allocations: 4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.00826, allocations: 0 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.008277, allocations: 4 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.008336, allocations: 15.98 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.008341, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.008367, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.008376, allocations: 4.25 kB / 383.6 MB, free: 12.96 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.426e-05/0.00845, allocations: 164.4 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.008483, allocations: 11.89 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.008626, allocations: 70.16 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.00863, allocations: 3.984 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008633, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.00864, allocations: 4 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.008946, allocations: 325.3 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008947, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.008994, allocations: 11.98 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008996, allocations: 4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.009003, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.009005, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009006, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.009145, allocations: 211.8 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.009155, allocations: 7.953 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.009167, allocations: 0 / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.009226, allocations: 15.98 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.009256, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.009261, allocations: 4 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.009343, allocations: 152.1 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009343, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.009616, allocations: 19.88 kB / 384.6 MB, free: 11.9 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.00103/0.01065, allocations: 374.3 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01075, allocations: 23.67 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01075, allocations: 0 / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.01079, allocations: 31.75 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01108, allocations: 22.73 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.01145, allocations: 190.5 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.0115, allocations: 59.34 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.01155, allocations: 15.97 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.01158, allocations: 16.44 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01158, allocations: 4 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003539/0.01512, allocations: 1.171 MB / 386.5 MB, free: 10.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.4516431191004813]