Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001837/0.001837, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.002277/0.002277, allocations: 156.9 kB / 24.26 MB, free: 144 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.633/1.633, allocations: 177 MB / 204.4 MB, free: 5.598 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.3431/0.3431, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.3e-05, allocations: 4.844 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003467/0.0035, allocations: 1.658 MB / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.005721, allocations: 1.281 MB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.005785, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.00602, allocations: 27.78 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.006425, allocations: 91.55 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.006926, allocations: 179.4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.00722, allocations: 75.77 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.007321, allocations: 11.98 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.007425, allocations: 47.83 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.007554, allocations: 27.91 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.007583, allocations: 12 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.007816, allocations: 91.81 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.007889, allocations: 19.92 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.007934, allocations: 15.98 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.008305, allocations: 163.4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.008308, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008309, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008315, allocations: 4 kB / 380.9 MB, free: 15.17 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.0006424/0.008957, allocations: 329.7 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.009, allocations: 8.031 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.009098, allocations: 20.89 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.009355, allocations: 145.6 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.009367, allocations: 4.312 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.009401, allocations: 8.359 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.009649, allocations: 101.7 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.009662, allocations: 192 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.009674, allocations: 384 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.009679, allocations: 384 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.009842, allocations: 47.89 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.01034, allocations: 244.5 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.0105, allocations: 42.56 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.01059, allocations: 24.94 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.01062, allocations: 4 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.01066, allocations: 38.48 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.01066, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009874/0.01165, allocations: 237.2 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.01172, allocations: 77.19 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.01194, allocations: 148.6 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.01197, allocations: 29.7 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.01205, allocations: 100.1 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.0121, allocations: 27.73 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.01215, allocations: 25.72 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01233, allocations: 318.8 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.01247, allocations: 39.97 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.01263, allocations: 79.38 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.01291, allocations: 84.8 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01291, allocations: 4.031 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003393/0.01325, allocations: 133.7 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.01327, allocations: 4 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01328, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.0133, allocations: 3.938 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.01344, allocations: 19.98 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01345, allocations: 0 / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.01352, allocations: 23.92 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01353, allocations: 0 / 383.2 MB, free: 12.64 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 (7): * Single equations (assignments): 7 * 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.0001208/0.01365, allocations: 117.8 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.0137, allocations: 11.89 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.01413, allocations: 142.3 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01413, allocations: 0 / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.01414, allocations: 3.984 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01414, allocations: 8 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.01481, allocations: 346.1 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01481, allocations: 0 / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01491, allocations: 23.97 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01492, allocations: 0 / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.01492, allocations: 0 / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.01493, allocations: 4 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01493, allocations: 3.938 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.01533, allocations: 227.4 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.01535, allocations: 7.953 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01537, allocations: 0 / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01548, allocations: 15.98 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.01553, allocations: 4.266 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.01553, allocations: 4 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.01567, allocations: 115.2 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01567, allocations: 4 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.01598, allocations: 39.88 kB / 384.3 MB, free: 11.51 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 (7): * Single equations (assignments): 7 * 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.00242/0.0184, allocations: 0.5199 MB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004773/0.01888, allocations: 87.86 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01888, allocations: 0 / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.01904, allocations: 43.97 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.01959, allocations: 31.88 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.02042, allocations: 227.1 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.02059, allocations: 87.31 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.02073, allocations: 33 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.02082, allocations: 20.48 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.913e-06/0.02082, allocations: 0 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.006742/0.02756, allocations: 2.014 MB / 387.4 MB, free: 8.598 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.940332083031535]