Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.257/0.257, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.89 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 66.04 MB / 0.5619 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003481/0.3515, allocations: 1.925 MB / 0.5637 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3537, allocations: 1.139 MB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.3538, allocations: 0 / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.3545, allocations: 211.3 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.355, allocations: 207.2 kB / 0.5653 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.3554, allocations: 163.5 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.3558, allocations: 267.2 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3559, allocations: 24.56 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.356, allocations: 115.5 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3562, allocations: 119.6 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.3563, allocations: 12 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3564, allocations: 63.89 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.3565, allocations: 59.77 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.3566, allocations: 63.53 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.357, allocations: 253.3 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.357, allocations: 0 / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.357, allocations: 4 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.357, allocations: 0 / 0.5664 GB, free: 15.58 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.0008917/0.3579, allocations: 498.4 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3579, allocations: 12.03 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.358, allocations: 28.73 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3584, allocations: 234.5 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3584, allocations: 4.375 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3584, allocations: 12.12 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3587, allocations: 95.36 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3587, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3587, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3587, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3588, allocations: 47.91 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.3593, allocations: 317.2 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.3596, allocations: 117.2 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3598, allocations: 45.69 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3598, allocations: 3.984 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.36, allocations: 124.9 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.36, allocations: 0 / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005028/0.3605, allocations: 189.4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.3606, allocations: 85.11 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.361, allocations: 360.5 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.361, allocations: 29.7 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3612, allocations: 136.1 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.3612, allocations: 35.8 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.3613, allocations: 37.64 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3614, allocations: 346.8 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3615, allocations: 28.48 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3617, allocations: 104.5 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3619, allocations: 103.3 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3619, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000321/0.3622, allocations: 157.4 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3622, allocations: 4.094 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3622, allocations: 4 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3622, allocations: 4 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3624, allocations: 19.98 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3624, allocations: 4 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.3625, allocations: 7.953 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3625, allocations: 8 kB / 0.5694 GB, free: 12.2 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.0001568/0.3626, allocations: 161.6 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.3627, allocations: 27.81 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.3631, allocations: 179.4 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3631, allocations: 4 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3631, allocations: 192 / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3631, allocations: 3.984 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3633, allocations: 189.2 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.3633, allocations: 3.938 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.3634, allocations: 12 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3634, allocations: 0 / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3634, allocations: 4 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3634, allocations: 8.062 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3634, allocations: 3.984 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.3638, allocations: 205.6 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.3638, allocations: 27.84 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.3638, allocations: 0 / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.3639, allocations: 11.98 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.364, allocations: 7.984 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.364, allocations: 4 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.3643, allocations: 267 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3643, allocations: 0 / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.3646, allocations: 47.92 kB / 0.5705 GB, free: 10.98 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.001687/0.3663, allocations: 444.4 kB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3666, allocations: 99.77 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3666, allocations: 0 / 0.5711 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3667, allocations: 51.97 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.3671, allocations: 74.84 kB / 0.5712 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.3678, allocations: 404.3 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.368, allocations: 141 kB / 0.5717 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.977e-05/0.3681, allocations: 34.08 kB / 0.5717 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.3681, allocations: 31.42 kB / 0.5718 GB, free: 9.863 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3681, allocations: 0 / 0.5718 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Templates: time 0.007741/0.3759, allocations: 3.39 MB / 0.5751 GB, free: 6.512 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.096997233005823]