Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001908/0.001908, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00356/0.00356, allocations: 160.8 kB / 24.27 MB, free: 156 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.64/1.64, allocations: 177 MB / 204.5 MB, free: 5.641 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.3482/0.3482, allocations: 34.25 MB / 295.2 MB, free: 0.625 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.736e-05, allocations: 2.875 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003239/0.003267, allocations: 1.676 MB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.005601, allocations: 1.297 MB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.005656, allocations: 4 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.005869, allocations: 23.8 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.00619, allocations: 83.55 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.006619, allocations: 183.4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.006784, allocations: 83.7 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.006874, allocations: 11.98 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.776e-05/0.006952, allocations: 35.91 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.007078, allocations: 39.89 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.0071, allocations: 4 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.00729, allocations: 91.81 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.007355, allocations: 23.92 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.00739, allocations: 11.98 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.007679, allocations: 163.4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.007682, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007683, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.007688, allocations: 0 / 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.0006109/0.008299, allocations: 435.7 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.008332, allocations: 11.97 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.008387, allocations: 8.891 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.008608, allocations: 148.4 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.008622, allocations: 8.375 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.008643, allocations: 384 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.00884, allocations: 103.3 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.008852, allocations: 4.188 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.008861, allocations: 384 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.008865, allocations: 384 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.008983, allocations: 35.89 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.009469, allocations: 299.7 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.009602, allocations: 43.05 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.009663, allocations: 15.69 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.009689, allocations: 4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.009731, allocations: 49.41 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.009732, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007083/0.01044, allocations: 177.3 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.01051, allocations: 81.12 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.0107, allocations: 208.7 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01073, allocations: 25.7 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.01082, allocations: 150.8 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.01086, allocations: 31.75 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.01092, allocations: 31.36 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.01118, allocations: 0.4884 MB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.01127, allocations: 27.97 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01139, allocations: 65.06 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01157, allocations: 63.88 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01157, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002466/0.01182, allocations: 101.5 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01183, allocations: 7.984 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01184, allocations: 0 / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01185, allocations: 0 / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01196, allocations: 16 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01197, allocations: 3.984 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.01202, allocations: 8 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.01203, allocations: 3.938 kB / 383.6 MB, free: 12.31 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.0001264/0.01216, allocations: 160.6 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.0122, allocations: 15.89 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.01252, allocations: 114.3 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01252, allocations: 0 / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01252, allocations: 0 / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.01253, allocations: 4 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.01309, allocations: 377.3 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01309, allocations: 0 / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.01317, allocations: 15.94 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01317, allocations: 8 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01319, allocations: 3.984 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01319, allocations: 0 / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01319, allocations: 0 / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.01353, allocations: 243.8 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.01355, allocations: 7.953 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01357, allocations: 0 / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.01365, allocations: 8 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.01369, allocations: 7.984 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.0137, allocations: 4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.01383, allocations: 166 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01383, allocations: 0 / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.01412, allocations: 43.86 kB / 384.7 MB, free: 11.08 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.003225/0.01734, allocations: 0.5113 MB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.01762, allocations: 67.64 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01762, allocations: 0 / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.01773, allocations: 39.61 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.01807, allocations: 39.25 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.0186, allocations: 208.8 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.937e-05/0.01869, allocations: 87.31 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.01878, allocations: 29 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.01884, allocations: 16.5 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01884, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.006111/0.02495, allocations: 2.004 MB / 387.7 MB, free: 8.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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: 5.1297786550130695]