Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001745/0.001745, allocations: 91.17 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.002178/0.002178, allocations: 158.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.508/1.508, allocations: 177 MB / 204.1 MB, free: 9.148 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.2163/0.2163, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.52e-05, allocations: 4.672 kB / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003604/0.003639, allocations: 1.72 MB / 444.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.005636, allocations: 0.9735 MB / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.005716, allocations: 4 kB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.006043, allocations: 51.69 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.006394, allocations: 103.5 kB / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.006601, allocations: 79.61 kB / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.006819, allocations: 115.6 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.006927, allocations: 7.938 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.007049, allocations: 59.81 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.007136, allocations: 23.92 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.00716, allocations: 7.938 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.007266, allocations: 39.98 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.007346, allocations: 31.91 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.0074, allocations: 23.86 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.007649, allocations: 135.5 kB / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007652, allocations: 0 / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007653, allocations: 8 kB / 446.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.007663, allocations: 0 / 446.1 MB, free: 1.809 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.0006794/0.008342, allocations: 365.3 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.008382, allocations: 12.02 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.008432, allocations: 16.84 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.008732, allocations: 162.4 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.008744, allocations: 4.375 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.008771, allocations: 384 / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.008947, allocations: 58.23 kB / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.00896, allocations: 192 / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.008972, allocations: 4.375 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.008978, allocations: 3.938 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.009064, allocations: 23.98 kB / 446.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.009502, allocations: 236.6 kB / 447 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.009737, allocations: 70.59 kB / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.0098, allocations: 16.86 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.009812, allocations: 0 / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.009982, allocations: 75.31 kB / 447.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.917e-06/0.009985, allocations: 4 kB / 447.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006438/0.01063, allocations: 197.2 kB / 447.3 MB, free: 472 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.01068, allocations: 55.41 kB / 447.4 MB, free: 404 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.01098, allocations: 271 kB / 447.7 MB, free: 124 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.01101, allocations: 25.7 kB / 447.7 MB, free: 92 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2255/0.2365, allocations: 117.2 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.2366, allocations: 26.78 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.2366, allocations: 25.83 kB / 447.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.2367, allocations: 330 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2368, allocations: 25.08 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.2369, allocations: 39.23 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.237, allocations: 60.86 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.237, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002814/0.2373, allocations: 113.9 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2373, allocations: 6.219 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2374, allocations: 4.875 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.2374, allocations: 1.188 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.2375, allocations: 18.62 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2375, allocations: 1.188 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.2376, allocations: 3.312 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2376, allocations: 3.25 kB / 448.4 MB, free: 18.86 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.000107/0.2377, allocations: 139 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2377, allocations: 18.03 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.238, allocations: 125.3 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.238, allocations: 7.469 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.238, allocations: 4.312 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.238, allocations: 0.7031 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.2385, allocations: 356.9 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2385, allocations: 4.688 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.2385, allocations: 10.38 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2385, allocations: 5 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2385, allocations: 7.656 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2385, allocations: 1.125 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2385, allocations: 1 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.2388, allocations: 215.8 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.2388, allocations: 17.47 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.2388, allocations: 3.25 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.2389, allocations: 6.891 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.239, allocations: 9.422 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.239, allocations: 4.203 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.2392, allocations: 210.7 kB / 449.6 MB, free: 18.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2392, allocations: 2.234 kB / 449.6 MB, free: 18.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.2395, allocations: 22.34 kB / 449.6 MB, free: 18.17 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.00187/0.2413, allocations: 495.6 kB / 450.1 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.2416, allocations: 57.02 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2416, allocations: 2.688 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.2416, allocations: 30.48 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.242, allocations: 30.27 kB / 450.2 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.2426, allocations: 304.7 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2427, allocations: 114.7 kB / 450.6 MB, free: 17.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.2428, allocations: 19.78 kB / 450.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.2428, allocations: 17.22 kB / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2428, allocations: 0 / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of Templates: time 0.006086/0.2489, allocations: 1.867 MB / 452.5 MB, free: 17.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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: 4.98509019240737]