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.001341/0.001341, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001494/0.001494, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.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.2342/0.2342, allocations: 46.94 MB / 361.5 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002434/0.002434, allocations: 87.78 kB / 0.4974 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3848, allocations: 66.08 MB / 0.562 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003845/0.3887, allocations: 1.925 MB / 0.5638 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3909, allocations: 1.139 MB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.391, allocations: 3.938 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.3918, allocations: 199.4 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.3923, allocations: 214.6 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.3927, allocations: 155.6 kB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.3931, allocations: 279.1 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3932, allocations: 12.59 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.3935, allocations: 119.5 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3937, allocations: 111.5 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3937, allocations: 15.94 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3938, allocations: 59.95 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.3939, allocations: 67.7 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.151e-05/0.394, allocations: 63.59 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.3944, allocations: 253.3 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3944, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3944, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3944, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.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.0009269/0.3953, allocations: 498.3 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3954, allocations: 8.031 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.3954, allocations: 28.8 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.3958, allocations: 230.6 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3958, allocations: 4.375 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3959, allocations: 8.312 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.3961, allocations: 103.6 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3961, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3962, allocations: 7.984 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3962, allocations: 4 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3963, allocations: 39.97 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.3968, allocations: 313.2 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.3972, allocations: 133.2 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3973, allocations: 37.7 kB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3973, allocations: 8 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.3975, allocations: 113.1 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3975, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004968/0.398, allocations: 189.4 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.3981, allocations: 81.11 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.3985, allocations: 364.5 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3986, allocations: 25.7 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3987, allocations: 144.2 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3987, allocations: 27.75 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.3988, allocations: 33.7 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.399, allocations: 342.8 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3991, allocations: 35.98 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3993, allocations: 96.5 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3995, allocations: 115.2 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3995, allocations: 0 / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003424/0.3999, allocations: 150 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3999, allocations: 4 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3999, allocations: 4 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3999, allocations: 0 / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4, allocations: 23.98 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4001, allocations: 16 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.4001, allocations: 15.94 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4002, allocations: 4 kB / 0.5695 GB, free: 11.98 MB / 414.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.0001598/0.4003, allocations: 161.7 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.4004, allocations: 31.8 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.4007, allocations: 171.4 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4007, allocations: 0 / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4008, allocations: 3.984 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4008, allocations: 0 / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.401, allocations: 193.2 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.401, allocations: 4 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.401, allocations: 11.94 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.401, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.401, allocations: 7.984 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.401, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.401, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.4014, allocations: 205.7 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.4015, allocations: 19.86 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.4015, allocations: 4 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.4016, allocations: 11.98 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.4016, allocations: 11.98 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.4016, allocations: 8 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003085/0.402, allocations: 267 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.402, allocations: 0 / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4022, allocations: 43.92 kB / 0.5706 GB, free: 10.77 MB / 414.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.001728/0.404, allocations: 439 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.4043, allocations: 95.95 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4043, allocations: 0 / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.4044, allocations: 55.91 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.4048, allocations: 67.25 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.4057, allocations: 442 kB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.4058, allocations: 141.1 kB / 0.5718 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.4059, allocations: 27.44 kB / 0.5718 GB, free: 9.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4059, allocations: 0 / 0.5718 GB, free: 9.633 MB / 414.1 MB Notification: Performance of Templates: time 0.006517/0.4124, allocations: 3.438 MB / 0.5752 GB, free: 6.199 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/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: 8.332568787969649]