Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001826/0.001826, allocations: 83.23 kB / 20.68 MB, free: 1.035 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.002219/0.002219, allocations: 157.9 kB / 23.95 MB, free: 4.168 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.519/1.519, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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.2229/0.2229, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.146e-05/4.39e-05, allocations: 2.281 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003823/0.003867, allocations: 1.621 MB / 444.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.005286, allocations: 0.5215 MB / 444.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.005407, allocations: 0 / 444.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.005847, allocations: 111.6 kB / 444.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.006286, allocations: 119.5 kB / 445 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.0066, allocations: 99.38 kB / 445.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.006834, allocations: 87.8 kB / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.006973, allocations: 15.98 kB / 445.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.00708, allocations: 51.81 kB / 445.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.007236, allocations: 71.8 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.007259, allocations: 8 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.007372, allocations: 43.92 kB / 445.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.007455, allocations: 31.84 kB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.007494, allocations: 11.94 kB / 445.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.007716, allocations: 107.6 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.007721, allocations: 0 / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.98e-06/0.007726, allocations: 4 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.007738, allocations: 3.938 kB / 445.6 MB, free: 2.379 MB / 366.1 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.0005893/0.008327, allocations: 349.5 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.008378, allocations: 8.031 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.008425, allocations: 16.84 kB / 445.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.008652, allocations: 166.2 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-06/0.008658, allocations: 384 / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.008686, allocations: 4.375 kB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.008856, allocations: 58.22 kB / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.008869, allocations: 192 / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.00888, allocations: 384 / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.008887, allocations: 4.375 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.008991, allocations: 23.92 kB / 446.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.009393, allocations: 244.4 kB / 446.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.009514, allocations: 46.56 kB / 446.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.009568, allocations: 16.94 kB / 446.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.009593, allocations: 0 / 446.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.009627, allocations: 42.5 kB / 446.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.009628, allocations: 4 kB / 446.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009373/0.01057, allocations: 229.5 kB / 446.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.0106, allocations: 51.41 kB / 446.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.01087, allocations: 259.6 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01089, allocations: 33.64 kB / 447.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.01097, allocations: 108.1 kB / 447.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.011, allocations: 31.73 kB / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.01104, allocations: 21.72 kB / 447.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01118, allocations: 322.8 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.01127, allocations: 23.98 kB / 447.6 MB, free: 192 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.01134, allocations: 27.98 kB / 447.6 MB, free: 164 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.0115, allocations: 64.89 kB / 447.7 MB, free: 96 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.01151, allocations: 0 / 447.7 MB, free: 96 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2366/0.2481, allocations: 105.5 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.2481, allocations: 6.062 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.2482, allocations: 2.766 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2482, allocations: 4.844 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.2483, allocations: 19.39 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2483, allocations: 0.6094 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.2484, allocations: 4.516 kB / 447.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2484, allocations: 5.516 kB / 447.8 MB, free: 18.95 MB / 366.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 (8): * Single equations (assignments): 8 * 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.00012/0.2485, allocations: 133.7 kB / 448 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.2486, allocations: 20.11 kB / 448 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.2489, allocations: 118 kB / 448.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2489, allocations: 1.062 kB / 448.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2489, allocations: 0.75 kB / 448.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2489, allocations: 1.125 kB / 448.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.2494, allocations: 352.3 kB / 448.4 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2494, allocations: 1.125 kB / 448.4 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.2495, allocations: 19.77 kB / 448.5 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2495, allocations: 1.766 kB / 448.5 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2495, allocations: 5.656 kB / 448.5 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2495, allocations: 1.812 kB / 448.5 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2495, allocations: 0 / 448.5 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2498, allocations: 207.5 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.2498, allocations: 14.2 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2498, allocations: 3.891 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.2499, allocations: 8.578 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.2499, allocations: 5.078 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.25, allocations: 9.484 kB / 448.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.2501, allocations: 190 kB / 448.9 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2501, allocations: 0 / 448.9 MB, free: 18.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2504, allocations: 26.55 kB / 448.9 MB, free: 18.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001847/0.2522, allocations: 480.3 kB / 449.4 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.2525, allocations: 60.45 kB / 449.5 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2525, allocations: 0 / 449.5 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.2526, allocations: 36.31 kB / 449.5 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.253, allocations: 22.83 kB / 449.5 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.2536, allocations: 288.1 kB / 449.8 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2537, allocations: 101.4 kB / 449.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.2537, allocations: 13.41 kB / 449.9 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.2537, allocations: 15.39 kB / 449.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2537, allocations: 5 kB / 449.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of Templates: time 0.005133/0.2589, allocations: 1.369 MB / 451.3 MB, free: 17.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.0235780999064445]