Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001352/0.001352, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001107/0.001107, allocations: 164.5 kB / 24.91 MB, free: 8.734 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 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5 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.278/0.278, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.66e-05, allocations: 4.984 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002058/0.002075, allocations: 1.691 MB / 327.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003254, allocations: 1.305 MB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.003298, allocations: 7.938 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.00346, allocations: 23.78 kB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.003694, allocations: 87.48 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.003888, allocations: 127.6 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.003999, allocations: 76.58 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.794e-05/0.004067, allocations: 15.97 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.004127, allocations: 43.83 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.004218, allocations: 19.98 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.004235, allocations: 7.938 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.004349, allocations: 99.75 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.004396, allocations: 15.97 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.004415, allocations: 19.92 kB / 329.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004588, allocations: 143.5 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.00459, allocations: 0 / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004591, allocations: 0 / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004594, allocations: 8 kB / 329.6 MB, free: 3.457 MB / 298.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.0002992/0.004893, allocations: 301.7 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.004921, allocations: 12.03 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.004947, allocations: 8.922 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.005063, allocations: 125.7 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.005071, allocations: 4.375 kB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.005088, allocations: 4.375 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005197, allocations: 102.3 kB / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005205, allocations: 4.141 kB / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005212, allocations: 384 / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005217, allocations: 4.375 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.005239, allocations: 19.86 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.005418, allocations: 164.2 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.979e-05/0.005468, allocations: 34.56 kB / 330.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.005481, allocations: 8.938 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.005495, allocations: 0 / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.005514, allocations: 34.55 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.005515, allocations: 0 / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002754/0.00579, allocations: 125.5 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.005821, allocations: 77.11 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.005902, allocations: 135.8 kB / 330.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005912, allocations: 25.7 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.005942, allocations: 96.06 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.00596, allocations: 23.8 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.005988, allocations: 21.7 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.006058, allocations: 322.8 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.006072, allocations: 7.938 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.006103, allocations: 47.41 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.006141, allocations: 28.86 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006141, allocations: 4 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.737e-05/0.006199, allocations: 45.69 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.006213, allocations: 13.81 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006216, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006227, allocations: 3.984 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.006291, allocations: 15.94 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.006293, allocations: 320 / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.006318, allocations: 11.98 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.006323, allocations: 0 / 331.4 MB, free: 1.473 MB / 298.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 5.139e-05/0.006374, allocations: 116.7 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.006394, allocations: 15.92 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.006489, allocations: 70.38 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.00649, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006492, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006494, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.006694, allocations: 226.7 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.006695, allocations: 4 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.006736, allocations: 27.86 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.006738, allocations: 0 / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.006743, allocations: 4 kB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006744, allocations: 0 / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006745, allocations: 0 / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.006842, allocations: 159.5 kB / 332 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.00685, allocations: 7.891 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.006861, allocations: 8 kB / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.006898, allocations: 4 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.00692, allocations: 3.984 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.006923, allocations: 0 / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.00695, allocations: 33.61 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00695, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.007112, allocations: 47.86 kB / 332.1 MB, free: 0.6953 MB / 298.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.001226/0.008337, allocations: 0.6065 MB / 332.7 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.008408, allocations: 40.7 kB / 332.8 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.008411, allocations: 0 / 332.8 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.091e-05/0.008432, allocations: 20.84 kB / 332.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.008567, allocations: 19.98 kB / 332.8 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.008834, allocations: 199.2 kB / 333 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.008876, allocations: 67.34 kB / 333.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.917e-05/0.008915, allocations: 16.3 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.008976, allocations: 63.36 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008976, allocations: 0 / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of Templates: time 0.003541/0.01252, allocations: 2.107 MB / 335.3 MB, free: 13.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.0464902236126363]