Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001705/0.001705, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00216/0.00216, allocations: 212.7 kB / 23.73 MB, free: 4.164 MB / 14.72 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.534/1.534, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 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.2579/0.2579, allocations: 46.96 MB / 360.8 MB, free: 3.91 MB / 286.1 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 80.2 kB / 0.4967 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4669, allocations: 66.08 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004046/0.4709, allocations: 1.668 MB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4722, allocations: 0.546 MB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.4723, allocations: 0 / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.473, allocations: 459.1 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006271/0.4736, allocations: 291.3 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.4741, allocations: 138.9 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.4744, allocations: 175.6 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4745, allocations: 12.23 kB / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.4748, allocations: 119.7 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.4751, allocations: 255.5 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.4751, allocations: 4 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.4753, allocations: 55.97 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.4754, allocations: 79.69 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.4755, allocations: 71.19 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.476, allocations: 288.9 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.476, allocations: 0 / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.476, allocations: 0 / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.476, allocations: 0 / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009415/0.4769, allocations: 0.5931 MB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.477, allocations: 16.03 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.4771, allocations: 48.61 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.4774, allocations: 242.8 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4774, allocations: 4.375 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4774, allocations: 384 / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4776, allocations: 66.17 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4776, allocations: 192 / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4776, allocations: 7.938 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.4776, allocations: 4 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4778, allocations: 39.95 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.4783, allocations: 344.3 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.4786, allocations: 58.48 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.4787, allocations: 20.84 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.4787, allocations: 4.125 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4787, allocations: 42.48 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4787, allocations: 0 / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.4802, allocations: 472.8 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.4803, allocations: 51.41 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.4813, allocations: 0.8613 MB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4813, allocations: 29.7 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.4815, allocations: 216 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.4816, allocations: 39.69 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.4816, allocations: 29.7 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.4818, allocations: 362.7 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.482, allocations: 39.97 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4821, allocations: 47.95 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.4823, allocations: 92.94 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4824, allocations: 4 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.4827, allocations: 185.6 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4827, allocations: 7.984 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4827, allocations: 0 / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4827, allocations: 0 / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4829, allocations: 27.98 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4829, allocations: 0 / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.483, allocations: 11.98 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.483, allocations: 7.938 kB / 0.5691 GB, free: 11.71 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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.0002461/0.4832, allocations: 221.7 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.4833, allocations: 47.67 kB / 0.5693 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.4837, allocations: 197.5 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4837, allocations: 4 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4837, allocations: 3.938 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4837, allocations: 4 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.4846, allocations: 0.5035 MB / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4846, allocations: 0 / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4847, allocations: 23.98 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.4847, allocations: 7.984 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4847, allocations: 7.938 kB / 0.57 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4847, allocations: 7.984 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4847, allocations: 8 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.4851, allocations: 277 kB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.4852, allocations: 35.72 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.4852, allocations: 7.938 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4853, allocations: 11.98 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4854, allocations: 7.984 kB / 0.5704 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4854, allocations: 11.94 kB / 0.5704 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007297/0.4861, allocations: 0.655 MB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4861, allocations: 0 / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.4864, allocations: 39.88 kB / 0.5711 GB, free: 9.555 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001877/0.4883, allocations: 483.8 kB / 0.5715 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.4886, allocations: 95.88 kB / 0.5716 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4886, allocations: 4 kB / 0.5716 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4888, allocations: 63.83 kB / 0.5717 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.4892, allocations: 36.61 kB / 0.5717 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4906, allocations: 0.8551 MB / 0.5726 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.491, allocations: 228.7 kB / 0.5728 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.499e-05/0.491, allocations: 20.48 kB / 0.5728 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.4911, allocations: 15.44 kB / 0.5728 GB, free: 7.895 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4911, allocations: 0 / 0.5728 GB, free: 7.895 MB / 414.1 MB Notification: Performance of Templates: time 0.006565/0.4976, allocations: 2.064 MB / 0.5748 GB, free: 5.844 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.447100900113583]