Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001018/0.001018, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.001239/0.001239, allocations: 165.6 kB / 24.82 MB, free: 9.266 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.994/0.994, allocations: 177 MB / 205.1 MB, free: 5.477 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.2513/0.2513, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.702e-05, allocations: 2.312 kB / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002398/0.002415, allocations: 1.683 MB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.003258, allocations: 0.5524 MB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.003312, allocations: 0 / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.003857, allocations: 451.1 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.00426, allocations: 295.2 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.004512, allocations: 131.5 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.004704, allocations: 167.6 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.004792, allocations: 15.86 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.004918, allocations: 115.8 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.005138, allocations: 251.5 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.005154, allocations: 4 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.00523, allocations: 35.92 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.00532, allocations: 83.7 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.005354, allocations: 35.75 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.005577, allocations: 191.2 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005579, allocations: 3.938 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005579, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005583, allocations: 0 / 383.2 MB, free: 13.79 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.0005832/0.006166, allocations: 0.697 MB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.006203, allocations: 12.03 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.006257, allocations: 44.66 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.006461, allocations: 248.8 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.006471, allocations: 4.375 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.006487, allocations: 384 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.006589, allocations: 58.94 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006598, allocations: 4.188 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.006604, allocations: 384 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.00661, allocations: 384 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.006636, allocations: 11.88 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.00695, allocations: 344.2 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.007071, allocations: 47.06 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.007088, allocations: 19.7 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.007105, allocations: 0 / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.007126, allocations: 33.39 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.007127, allocations: 0 / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002852/0.007412, allocations: 121.3 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.007437, allocations: 55.41 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.007887, allocations: 0.5962 MB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.0079, allocations: 33.7 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.008073, allocations: 302.7 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.008094, allocations: 15.84 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.008125, allocations: 19.38 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.008328, allocations: 0.5625 MB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.008341, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.008354, allocations: 7.984 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.00839, allocations: 27.62 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.008391, allocations: 0 / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.008495, allocations: 97.53 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.008507, allocations: 4 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.008511, allocations: 0 / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.008525, allocations: 8 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.00857, allocations: 12 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.008572, allocations: 0 / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.008604, allocations: 3.984 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.008611, allocations: 4 kB / 386.6 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 (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 8.081e-05/0.008692, allocations: 156.6 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.008741, allocations: 51.61 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.008878, allocations: 93.17 kB / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.00888, allocations: 0 / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008881, allocations: 4 kB / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.008885, allocations: 4.281 kB / 386.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.009212, allocations: 374 kB / 387.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.009215, allocations: 3.938 kB / 387.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.009254, allocations: 19.92 kB / 387.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.009255, allocations: 0 / 387.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.009262, allocations: 7.984 kB / 387.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.009263, allocations: 0 / 387.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009264, allocations: 0 / 387.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.009393, allocations: 239.6 kB / 387.5 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.009423, allocations: 35.66 kB / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.009439, allocations: 8 kB / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.009496, allocations: 0 / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.009519, allocations: 7.984 kB / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.009522, allocations: 192 / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.009775, allocations: 390.7 kB / 388 MB, free: 8.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009775, allocations: 0 / 388 MB, free: 8.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.01, allocations: 27.94 kB / 388 MB, free: 8.75 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.0008242/0.01083, allocations: 389.3 kB / 388.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.0109, allocations: 31.67 kB / 388.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.0109, allocations: 0 / 388.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.01092, allocations: 15.69 kB / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.0112, allocations: 29.89 kB / 388.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01183, allocations: 0.5666 MB / 389 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.634e-05/0.01192, allocations: 123.2 kB / 389.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.01195, allocations: 11.97 kB / 389.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.012, allocations: 78.2 kB / 389.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01201, allocations: 0 / 389.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of Templates: time 0.004051/0.01606, allocations: 1.489 MB / 390.7 MB, free: 6.094 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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: 2.9839678411372006]