Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.001309/0.001309, allocations: 87.34 kB / 20.69 MB, free: 1.02 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.001464/0.001464, allocations: 157.8 kB / 23.95 MB, free: 4.152 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.51/1.51, 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.2304/0.2304, allocations: 34.27 MB / 294.8 MB, free: 14.51 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.69e-05, allocations: 6.219 kB / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003388/0.003415, allocations: 1.926 MB / 444.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.005825, allocations: 1.137 MB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.005976, allocations: 0 / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.006745, allocations: 218.5 kB / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.007354, allocations: 211.1 kB / 446.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.007864, allocations: 167.5 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.008267, allocations: 271.1 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.008379, allocations: 20.58 kB / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.008605, allocations: 143.6 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.008797, allocations: 99.75 kB / 446.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.008831, allocations: 12 kB / 446.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.008996, allocations: 63.84 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.009098, allocations: 59.75 kB / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.009188, allocations: 51.84 kB / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.009556, allocations: 239.1 kB / 447.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.009559, allocations: 4 kB / 447.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009559, allocations: 0 / 447.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.009564, allocations: 3.938 kB / 447.3 MB, free: 0.5781 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008436/0.01041, allocations: 498.4 kB / 447.8 MB, free: 56 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.01044, allocations: 12.03 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.0105, allocations: 24.75 kB / 447.9 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2028/0.2133, allocations: 225.3 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.2133, allocations: 8.219 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.2133, allocations: 4.719 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.2136, allocations: 99.05 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2136, allocations: 192 / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2136, allocations: 6.391 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2136, allocations: 1.062 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.2138, allocations: 44.38 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.2142, allocations: 317.2 kB / 448.5 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2145, allocations: 118.1 kB / 448.7 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2146, allocations: 43.3 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2147, allocations: 2.156 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.2149, allocations: 123.2 kB / 448.8 MB, free: 19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.2149, allocations: 0 / 448.8 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005237/0.2154, allocations: 198.3 kB / 449 MB, free: 18.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2154, allocations: 79.89 kB / 449.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.2158, allocations: 358.6 kB / 449.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2158, allocations: 34.86 kB / 449.5 MB, free: 18.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.2159, allocations: 135.3 kB / 449.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.216, allocations: 38.11 kB / 449.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.216, allocations: 30.55 kB / 449.7 MB, free: 18.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.2161, allocations: 338.1 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/0.2162, allocations: 31.64 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2163, allocations: 100.2 kB / 450.1 MB, free: 18.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.2165, allocations: 104 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2165, allocations: 0 / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002992/0.2168, allocations: 155.8 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2168, allocations: 6.656 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2168, allocations: 0 / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.2169, allocations: 11.62 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.217, allocations: 20.61 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.217, allocations: 3.562 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.2171, allocations: 14 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2171, allocations: 9.719 kB / 450.5 MB, free: 17.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001368/0.2173, allocations: 147.7 kB / 450.6 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.2173, allocations: 28.86 kB / 450.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.2177, allocations: 169.9 kB / 450.8 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2177, allocations: 8.797 kB / 450.8 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2177, allocations: 4.281 kB / 450.8 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2177, allocations: 9.031 kB / 450.8 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.2179, allocations: 185.4 kB / 451 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2179, allocations: 0 / 451 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.218, allocations: 11.2 kB / 451 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.218, allocations: 3.375 kB / 451 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.218, allocations: 8.609 kB / 451 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.218, allocations: 1.188 kB / 451 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.218, allocations: 9.172 kB / 451 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.2184, allocations: 200.9 kB / 451.2 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.2184, allocations: 24.77 kB / 451.3 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.2185, allocations: 10.02 kB / 451.3 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.2185, allocations: 7.219 kB / 451.3 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.2186, allocations: 16.22 kB / 451.3 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.2186, allocations: 7.75 kB / 451.3 MB, free: 17.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.2189, allocations: 267.4 kB / 451.6 MB, free: 17.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2189, allocations: 0 / 451.6 MB, free: 17.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.2192, allocations: 40.2 kB / 451.6 MB, free: 17.2 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001652/0.2208, allocations: 441.7 kB / 452 MB, free: 17.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.2211, allocations: 102 kB / 452.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2211, allocations: 1.375 kB / 452.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2212, allocations: 50.81 kB / 452.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2216, allocations: 61.53 kB / 452.2 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.2223, allocations: 415.8 kB / 452.6 MB, free: 16.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.2225, allocations: 141.6 kB / 452.8 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.981e-05/0.2225, allocations: 35.94 kB / 452.8 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.2226, allocations: 25.28 kB / 452.8 MB, free: 16.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2226, allocations: 0 / 452.8 MB, free: 16.59 MB / 366.1 MB Notification: Performance of Templates: time 0.008233/0.2308, allocations: 3.205 MB / 456 MB, free: 16.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.113300807774067]