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.0009558/0.0009558, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001123/0.001123, allocations: 157 kB / 24.99 MB, free: 8.801 MB / 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.9656/0.9656, allocations: 177 MB / 205.2 MB, free: 5.609 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.2638/0.2638, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.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 2.234e-06/2.234e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.995e-05, allocations: 2.312 kB / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002268/0.002298, allocations: 1.709 MB / 380.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.003059, allocations: 0.5524 MB / 381 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.003116, allocations: 0 / 381 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.003588, allocations: 459 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.003935, allocations: 295.1 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.004153, allocations: 135.6 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.004343, allocations: 175.7 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.004439, allocations: 12.22 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.004547, allocations: 131.7 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.004735, allocations: 247.5 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004751, allocations: 8 kB / 382.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.004835, allocations: 51.92 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.004925, allocations: 87.69 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.004963, allocations: 35.75 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005176, allocations: 215.1 kB / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005178, allocations: 0 / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005179, allocations: 0 / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.005185, allocations: 0 / 382.9 MB, free: 14.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005624/0.005747, allocations: 0.7048 MB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.005785, allocations: 8.031 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.005846, allocations: 52.66 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.00604, allocations: 252.8 kB / 383.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.006052, allocations: 8.375 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.006072, allocations: 384 / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.006218, allocations: 70.88 kB / 383.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.006232, allocations: 4.172 kB / 383.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006242, allocations: 4.375 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006251, allocations: 384 / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.006294, allocations: 15.92 kB / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.006701, allocations: 439.5 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.006874, allocations: 51.05 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.0069, allocations: 15.67 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.006918, allocations: 4 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.00694, allocations: 37.33 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.006941, allocations: 0 / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006422/0.007584, allocations: 336.5 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.007613, allocations: 51.41 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.008016, allocations: 0.6316 MB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.008035, allocations: 25.7 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.008192, allocations: 290.8 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.008219, allocations: 35.66 kB / 385.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.008252, allocations: 31.36 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.008422, allocations: 0.5547 MB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.008449, allocations: 15.98 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.008477, allocations: 19.98 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.008537, allocations: 43.62 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.008538, allocations: 7.938 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001185/0.008656, allocations: 125.4 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.008668, allocations: 4 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.008672, allocations: 0 / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.008684, allocations: 0.5625 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.008748, allocations: 23.98 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.008753, allocations: 0 / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.008784, allocations: 4 kB / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008792, allocations: 12 kB / 386.7 MB, free: 10.21 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 (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 7.432e-05/0.008866, allocations: 164.5 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.008904, allocations: 59.66 kB / 386.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.009074, allocations: 133.4 kB / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009076, allocations: 0 / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.009079, allocations: 0 / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.009082, allocations: 0 / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.009551, allocations: 0.5434 MB / 387.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009553, allocations: 0 / 387.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.009607, allocations: 23.98 kB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.009609, allocations: 64 / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.009616, allocations: 4 kB / 387.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.009619, allocations: 7.938 kB / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00962, allocations: 0 / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.009771, allocations: 302.8 kB / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.009792, allocations: 31.72 kB / 387.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.00981, allocations: 4 kB / 388 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.00986, allocations: 11.98 kB / 388 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.009896, allocations: 15.86 kB / 388 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.009901, allocations: 4 kB / 388 MB, free: 8.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.01014, allocations: 430.8 kB / 388.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01014, allocations: 4 kB / 388.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000178/0.01032, allocations: 28 kB / 388.4 MB, free: 8.371 MB / 362.7 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.0008396/0.01116, allocations: 431.5 kB / 388.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.01127, allocations: 63.59 kB / 388.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01128, allocations: 0 / 388.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.01132, allocations: 39.83 kB / 389 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.01168, allocations: 37.95 kB / 389 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.0123, allocations: 0.6441 MB / 389.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.01237, allocations: 119.2 kB / 389.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.703e-05/0.01241, allocations: 12.5 kB / 389.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.01244, allocations: 20.48 kB / 389.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01244, allocations: 4 kB / 389.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of Templates: time 0.003844/0.01628, allocations: 1.757 MB / 391.5 MB, free: 5.34 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] 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","",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.0841610161587596]