Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.00154/0.00154, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001675/0.001675, allocations: 160.9 kB / 24.27 MB, free: 172 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 1.542/1.542, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3726/0.3726, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.845e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003096/0.003124, allocations: 1.595 MB / 378.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004281, allocations: 0.5214 MB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.004334, allocations: 4 kB / 379.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.004511, allocations: 27.78 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.004776, allocations: 79.56 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.005034, allocations: 91.69 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.005173, allocations: 63.78 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.005269, allocations: 19.97 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.005333, allocations: 23.92 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.005387, allocations: 15.92 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.005404, allocations: 4 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.005487, allocations: 31.98 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.005535, allocations: 11.92 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.005569, allocations: 15.92 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.005736, allocations: 71.73 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005738, allocations: 0 / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005739, allocations: 11.94 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005743, allocations: 0 / 379.8 MB, free: 300 kB / 346.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.0004959/0.006239, allocations: 313.8 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.006269, allocations: 8.031 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.00631, allocations: 8.891 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006488, allocations: 129.7 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.006499, allocations: 4.375 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.006521, allocations: 4.375 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.006654, allocations: 46.23 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006666, allocations: 8.172 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.006676, allocations: 8.375 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.00668, allocations: 384 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.006773, allocations: 27.86 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.007091, allocations: 220.5 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.007306, allocations: 38.56 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.007367, allocations: 20.88 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.007389, allocations: 4 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.007416, allocations: 30.56 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.007416, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005796/0.007996, allocations: 145.3 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.008045, allocations: 59.39 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.008234, allocations: 149.4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.008256, allocations: 25.7 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.008336, allocations: 96.12 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.008365, allocations: 19.84 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.008407, allocations: 17.72 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.00859, allocations: 322.8 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.008662, allocations: 15.98 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.008731, allocations: 19.98 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.008875, allocations: 48.83 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.008876, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002169/0.009093, allocations: 85.5 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.009107, allocations: 4 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009112, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.009127, allocations: 0 / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.009199, allocations: 15.98 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.009204, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.009251, allocations: 12.2 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.00926, allocations: 3.984 kB / 381.7 MB, free: 14.23 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 0.0001015/0.009362, allocations: 113.8 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.009399, allocations: 11.89 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.00966, allocations: 98.06 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009662, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.009668, allocations: 4 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.009671, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.01014, allocations: 290.2 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.01014, allocations: 0 / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.0102, allocations: 19.92 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.0102, allocations: 3.938 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.01021, allocations: 0 / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01021, allocations: 8 kB / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01022, allocations: 0 / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.01048, allocations: 179.4 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.0105, allocations: 7.953 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.01051, allocations: 0 / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.01058, allocations: 7.984 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.01062, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01062, allocations: 4 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.01074, allocations: 115.2 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01074, allocations: 4 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.011, allocations: 16 kB / 382.5 MB, free: 13.3 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.001932/0.01294, allocations: 425.6 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01313, allocations: 43.97 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01313, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.01322, allocations: 27.97 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.01357, allocations: 31.19 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.01405, allocations: 192.9 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.135e-05/0.01414, allocations: 79.31 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.01418, allocations: 11.84 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.01422, allocations: 12.5 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.01422, allocations: 4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.004182/0.0184, allocations: 1.152 MB / 384.5 MB, free: 11.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.767173939035274]