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.0009065/0.0009065, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003416/0.003416, allocations: 157.2 kB / 24.7 MB, free: 9.422 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.8682/0.8682, allocations: 177 MB / 204.9 MB, free: 5.75 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.2642/0.2642, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.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 2.174e-06/2.174e-06, allocations: 0 / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.062e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.2227/0.2227, allocations: 1.927 MB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2241, allocations: 1.132 MB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2242, allocations: 6.812 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.2249, allocations: 207.5 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.2252, allocations: 211.5 kB / 447 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.2255, allocations: 158.3 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.2257, allocations: 280.6 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2258, allocations: 17.97 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.226, allocations: 144.5 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2261, allocations: 104 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2262, allocations: 11.28 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2263, allocations: 69.89 kB / 447.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.2264, allocations: 64.47 kB / 447.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.2264, allocations: 46.95 kB / 447.8 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.2267, allocations: 239.6 kB / 448.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2267, allocations: 0 / 448.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2267, allocations: 0 / 448.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2267, allocations: 0 / 448.1 MB, free: 42.34 MB / 410.7 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.0006304/0.2273, allocations: 0.4918 MB / 448.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2274, allocations: 10.5 kB / 448.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.2274, allocations: 29.12 kB / 448.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.2277, allocations: 223.7 kB / 448.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2277, allocations: 6.391 kB / 448.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2277, allocations: 10.16 kB / 448.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2279, allocations: 98.03 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2279, allocations: 192 / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2279, allocations: 3 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2279, allocations: 7.875 kB / 449 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.228, allocations: 45.31 kB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.2284, allocations: 313.9 kB / 449.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2285, allocations: 121.5 kB / 449.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.2286, allocations: 42.98 kB / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2286, allocations: 4.281 kB / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.2288, allocations: 120.5 kB / 449.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2288, allocations: 3.938 kB / 449.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000318/0.2291, allocations: 194.2 kB / 449.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2291, allocations: 77.11 kB / 449.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.2294, allocations: 361.5 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.2294, allocations: 25.7 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.2294, allocations: 141.8 kB / 450.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.2295, allocations: 32.61 kB / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.2295, allocations: 32.34 kB / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.2295, allocations: 333.8 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.2296, allocations: 34.83 kB / 450.8 MB, free: 40.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.2297, allocations: 103.5 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2298, allocations: 109.1 kB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2298, allocations: 0 / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001608/0.2299, allocations: 157.1 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2299, allocations: 5.875 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2299, allocations: 0 / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.23, allocations: 2.906 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.23, allocations: 24.16 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.23, allocations: 10.03 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.2301, allocations: 13.36 kB / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2301, allocations: 2.719 kB / 451.2 MB, free: 40.03 MB / 410.7 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 9.526e-05/0.2302, allocations: 160.8 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.2302, allocations: 26.73 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.2304, allocations: 176.9 kB / 451.6 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2304, allocations: 5.469 kB / 451.6 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2304, allocations: 0 / 451.6 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2304, allocations: 7.188 kB / 451.6 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2306, allocations: 184.4 kB / 451.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2306, allocations: 0 / 451.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.2306, allocations: 18.91 kB / 451.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.2306, allocations: 3.938 kB / 451.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2306, allocations: 6.719 kB / 451.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2306, allocations: 0 / 451.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2306, allocations: 0 / 451.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2308, allocations: 204.5 kB / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.2308, allocations: 24.27 kB / 452 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2309, allocations: 18.69 kB / 452 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.2309, allocations: 6.078 kB / 452 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2309, allocations: 12 kB / 452 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.2309, allocations: 9.719 kB / 452.1 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.2311, allocations: 267 kB / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2311, allocations: 0 / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.2313, allocations: 33.12 kB / 452.4 MB, free: 39.34 MB / 410.7 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.0007921/0.2321, allocations: 434.5 kB / 452.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.2322, allocations: 106.8 kB / 452.9 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2322, allocations: 0 / 452.9 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.2323, allocations: 49.42 kB / 452.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2325, allocations: 58.05 kB / 453 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2331, allocations: 443.2 kB / 453.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.514e-05/0.2331, allocations: 141.8 kB / 453.6 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.2332, allocations: 32.3 kB / 453.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2332, allocations: 0 / 453.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of Templates: time 0.00382/0.237, allocations: 3.445 MB / 457 MB, free: 38.31 MB / 410.7 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.366617474704981]