Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001066/0.001066, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001172/0.001172, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.021/1.021, allocations: 177 MB / 204.8 MB, free: 5.59 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.2918/0.2918, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.592e-05, allocations: 7.094 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002765/0.002791, allocations: 1.761 MB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.004971, allocations: 1.745 MB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.005028, allocations: 3.938 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.005212, allocations: 27.84 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.005576, allocations: 111.4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.005745, allocations: 83.55 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.005883, allocations: 107.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.005941, allocations: 7.984 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.006025, allocations: 63.77 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.006119, allocations: 35.91 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.006135, allocations: 4 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.006295, allocations: 99.81 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.006337, allocations: 23.91 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.006373, allocations: 23.92 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.00662, allocations: 159.4 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006621, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006622, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.006626, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 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.0003906/0.007016, allocations: 455.8 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.007045, allocations: 8.031 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.007087, allocations: 20.88 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.007256, allocations: 153 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.007268, allocations: 384 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.007287, allocations: 4.375 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.007415, allocations: 108 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.007424, allocations: 7.891 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.007433, allocations: 4 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.007437, allocations: 4 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.007473, allocations: 15.98 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.007735, allocations: 279.8 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.007829, allocations: 55.11 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.007862, allocations: 23.61 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.00787, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.574e-05/0.007956, allocations: 65.05 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.007956, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003381/0.008294, allocations: 153.4 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.00833, allocations: 81.11 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.008478, allocations: 215.3 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.008496, allocations: 29.7 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.008562, allocations: 142.9 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.008593, allocations: 23.78 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.008635, allocations: 31.38 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.008774, allocations: 0.4961 MB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.008806, allocations: 11.98 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.00887, allocations: 72.73 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.214e-05/0.008942, allocations: 51.31 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008943, allocations: 4.031 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001332/0.009076, allocations: 89.53 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.009089, allocations: 11.94 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009094, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.009113, allocations: 3.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.009184, allocations: 12.38 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.009191, allocations: 7.938 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.815e-05/0.009229, allocations: 4 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.009238, allocations: 4 kB / 385.7 MB, free: 10.85 MB / 362.7 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 9.003e-05/0.009328, allocations: 172.5 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.009352, allocations: 11.95 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.009535, allocations: 102.4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009539, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009542, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009546, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.009893, allocations: 388.9 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009894, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.009927, allocations: 15.98 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009928, allocations: 0 / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.009938, allocations: 8.031 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009939, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00994, allocations: 4 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01012, allocations: 255.4 kB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.01014, allocations: 7.938 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01016, allocations: 8 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.01022, allocations: 7.984 kB / 386.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.01026, allocations: 3.984 kB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01027, allocations: 4 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.01037, allocations: 169.5 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01037, allocations: 8 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.01068, allocations: 47.86 kB / 386.9 MB, free: 9.566 MB / 362.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: 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.001534/0.01221, allocations: 0.5332 MB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.01236, allocations: 55.59 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01236, allocations: 0 / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.01241, allocations: 27.67 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.01273, allocations: 31.97 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.01312, allocations: 206 kB / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.01317, allocations: 67.34 kB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.01322, allocations: 16.97 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.01327, allocations: 16.5 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01327, allocations: 0 / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of Templates: time 0.005312/0.01858, allocations: 2.535 MB / 390.4 MB, free: 6.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3283567749895155]