Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001755/0.001755, allocations: 86.02 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.001429/0.001429, allocations: 158.8 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.563/1.563, 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.2392/0.2392, allocations: 34.25 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.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.321e-05/4.616e-05, allocations: 2.281 kB / 442.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.004051/0.004097, allocations: 1.714 MB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.006294, allocations: 0.9736 MB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.006432, allocations: 4 kB / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.006843, allocations: 39.77 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.007338, allocations: 99.47 kB / 445.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.007698, allocations: 83.53 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.007933, allocations: 107.7 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.008043, allocations: 7.984 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.008196, allocations: 59.77 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.0083, allocations: 23.91 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.008326, allocations: 4 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.00845, allocations: 39.98 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.008523, allocations: 31.84 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.008575, allocations: 15.94 kB / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.008896, allocations: 123.5 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.008901, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.008904, allocations: 8 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.008916, allocations: 0 / 446.1 MB, free: 1.855 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007106/0.009627, allocations: 357.4 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.009673, allocations: 12.03 kB / 446.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.009734, allocations: 8.891 kB / 446.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.01012, allocations: 153.5 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.01013, allocations: 384 / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.01016, allocations: 8.375 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.01034, allocations: 50.23 kB / 446.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01035, allocations: 192 / 446.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.01036, allocations: 8.375 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01037, allocations: 11.92 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.355e-05/0.01047, allocations: 23.92 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.01091, allocations: 232.6 kB / 446.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.01112, allocations: 54.67 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.01119, allocations: 24.84 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.0112, allocations: 0 / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.01139, allocations: 75.27 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.01139, allocations: 4 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006686/0.01206, allocations: 185.3 kB / 447.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.01211, allocations: 51.41 kB / 447.3 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.01236, allocations: 214.4 kB / 447.5 MB, free: 276 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.01239, allocations: 25.7 kB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.01249, allocations: 112.1 kB / 447.7 MB, free: 128 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.01253, allocations: 23.8 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.01258, allocations: 25.7 kB / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2176/0.2302, allocations: 323.8 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2304, allocations: 16.09 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2305, allocations: 38.59 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.2306, allocations: 63.38 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2306, allocations: 1.25 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003176/0.231, allocations: 112.8 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.231, allocations: 8.656 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.231, allocations: 1 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.231, allocations: 1.812 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2311, allocations: 14.39 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2312, allocations: 5.672 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.2312, allocations: 6.766 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2312, allocations: 5.016 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001652/0.2314, allocations: 126.9 kB / 448.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.2314, allocations: 13.22 kB / 448.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.2318, allocations: 127.4 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2318, allocations: 1.438 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2318, allocations: 4.594 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2318, allocations: 0.5156 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.2324, allocations: 348.7 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2324, allocations: 1.312 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.2324, allocations: 14.27 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2324, allocations: 0 / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.2325, allocations: 9.125 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2325, allocations: 1.719 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2325, allocations: 4.688 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.2327, allocations: 209.8 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.2328, allocations: 14.36 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.2328, allocations: 9.891 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.2329, allocations: 6.938 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.2329, allocations: 10.36 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.233, allocations: 7.047 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.2331, allocations: 158.1 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2331, allocations: 0 / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.2334, allocations: 29.36 kB / 449.4 MB, free: 18.29 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00189/0.2353, allocations: 488.4 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.2355, allocations: 61.19 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2355, allocations: 0 / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.2356, allocations: 33.05 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.236, allocations: 30.06 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.2366, allocations: 247.6 kB / 450.2 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.2367, allocations: 100.2 kB / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.2367, allocations: 16.12 kB / 450.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.2368, allocations: 17.66 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2368, allocations: 0 / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of Templates: time 0.006015/0.2428, allocations: 1.855 MB / 452.2 MB, free: 17.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.118851017206907]