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.001073/0.001073, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001072/0.001072, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.9401/0.9401, allocations: 177 MB / 205.2 MB, free: 5.613 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.2415/0.2415, allocations: 34.87 MB / 296.6 MB, free: 0.5664 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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.18e-05, allocations: 2.312 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002047/0.002059, allocations: 1.987 MB / 380.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.003536, allocations: 1.176 MB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.003609, allocations: 4 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.004047, allocations: 203.3 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.004307, allocations: 211.1 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.004522, allocations: 163.4 kB / 382.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.004733, allocations: 279.1 kB / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.004803, allocations: 16.59 kB / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.004928, allocations: 143.6 kB / 383 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005028, allocations: 107.7 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.005046, allocations: 8 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.005135, allocations: 67.89 kB / 383.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.005188, allocations: 51.78 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.005235, allocations: 51.78 kB / 383.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.005425, allocations: 183.2 kB / 383.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005427, allocations: 4 kB / 383.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005427, allocations: 0 / 383.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005431, allocations: 0 / 383.4 MB, free: 13.69 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004866/0.005918, allocations: 0.5944 MB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.005943, allocations: 8.031 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.005994, allocations: 32.75 kB / 384.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.006216, allocations: 237.4 kB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.006231, allocations: 4.375 kB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.006244, allocations: 8.375 kB / 384.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.006371, allocations: 89.58 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.006378, allocations: 4.125 kB / 384.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.006387, allocations: 4.375 kB / 384.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.006394, allocations: 3.938 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.00644, allocations: 23.98 kB / 384.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.00675, allocations: 363.4 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.006883, allocations: 110.2 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.006924, allocations: 35.36 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.006934, allocations: 0 / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.007054, allocations: 120.2 kB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.007055, allocations: 4 kB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002293/0.007285, allocations: 145.5 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.007316, allocations: 85.09 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.007533, allocations: 338.3 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.007548, allocations: 33.69 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.007628, allocations: 190.8 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.007654, allocations: 27.78 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.007692, allocations: 39.36 kB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.007819, allocations: 0.5157 MB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.00785, allocations: 8 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.007914, allocations: 106.4 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.00799, allocations: 70.69 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.007993, allocations: 4 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001362/0.008129, allocations: 133.9 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.00814, allocations: 4 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.008144, allocations: 0 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.008155, allocations: 4 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.008228, allocations: 28.14 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.008234, allocations: 3.938 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.008281, allocations: 23.88 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.008289, allocations: 4 kB / 386.8 MB, free: 10.03 MB / 362.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 7.463e-05/0.008363, allocations: 160.6 kB / 387 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.008391, allocations: 35.8 kB / 387 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.008563, allocations: 143.5 kB / 387.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.008566, allocations: 3.984 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.008569, allocations: 0 / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.008574, allocations: 4 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.008702, allocations: 200.6 kB / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008703, allocations: 0 / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.008731, allocations: 19.98 kB / 387.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008734, allocations: 3.938 kB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.008741, allocations: 0 / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008742, allocations: 4 kB / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008743, allocations: 0 / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.008895, allocations: 187.9 kB / 387.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.008917, allocations: 23.75 kB / 387.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.008941, allocations: 15.92 kB / 387.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.008976, allocations: 8 kB / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.009009, allocations: 7.984 kB / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.009022, allocations: 11.98 kB / 387.6 MB, free: 9.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.009157, allocations: 239 kB / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009157, allocations: 0 / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.009319, allocations: 32 kB / 387.9 MB, free: 8.875 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: 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.0007433/0.01006, allocations: 404.5 kB / 388.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.01019, allocations: 67.59 kB / 388.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01019, allocations: 4 kB / 388.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.01025, allocations: 47.59 kB / 388.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01048, allocations: 79.45 kB / 388.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.01117, allocations: 374.5 kB / 388.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.01122, allocations: 87.97 kB / 388.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.01128, allocations: 29.92 kB / 389 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.01131, allocations: 28.48 kB / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01132, allocations: 0 / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of Templates: time 0.004586/0.0159, allocations: 3.224 MB / 392.2 MB, free: 4.656 MB / 362.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] 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","",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.0029326758813113]