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.001648/0.001648, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002026/0.002026, allocations: 212.6 kB / 24.48 MB, free: 3.84 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2319/0.2319, 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.002338/0.002338, allocations: 59.91 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3177, allocations: 66.04 MB / 0.5619 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003604/0.3213, allocations: 1.922 MB / 0.5638 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3235, allocations: 1.135 MB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3236, allocations: 7.938 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.3243, allocations: 203.4 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3248, allocations: 203.2 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.3253, allocations: 163.4 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.3257, allocations: 275.2 kB / 0.5657 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3258, allocations: 16.56 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.326, allocations: 119.5 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3262, allocations: 115.6 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.3262, allocations: 12 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3264, allocations: 63.88 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.3265, allocations: 59.7 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.3266, allocations: 59.61 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.327, allocations: 257.3 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.327, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.327, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.327, allocations: 0 / 0.5663 GB, free: 15.55 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.0009736/0.328, allocations: 0.4945 MB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.328, allocations: 8.031 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.3281, allocations: 24.8 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.3285, allocations: 230.6 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3285, allocations: 384 / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3285, allocations: 8.125 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3288, allocations: 103.2 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3288, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3288, allocations: 8 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3288, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.329, allocations: 43.97 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.3295, allocations: 321.1 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.3298, allocations: 113.2 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.33, allocations: 49.67 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.33, allocations: 4 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.3302, allocations: 117.1 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3302, allocations: 3.938 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005405/0.3308, allocations: 189.9 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3308, allocations: 77.11 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.3313, allocations: 364.5 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3313, allocations: 25.7 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3314, allocations: 136.1 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.3315, allocations: 43.73 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.3315, allocations: 29.7 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3317, allocations: 342.8 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/0.3318, allocations: 39.98 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.332, allocations: 100.7 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.3322, allocations: 103.3 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3322, allocations: 7.938 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003097/0.3325, allocations: 145.5 kB / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3325, allocations: 4.094 kB / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3325, allocations: 8 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3325, allocations: 0 / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3327, allocations: 31.92 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3327, allocations: 3.984 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.3328, allocations: 7.953 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3328, allocations: 8 kB / 0.5694 GB, free: 12.16 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.0001752/0.333, allocations: 161.7 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.333, allocations: 27.81 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.3334, allocations: 175.6 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3334, allocations: 0 / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3334, allocations: 4 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3334, allocations: 7.984 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.3337, allocations: 189.2 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3337, allocations: 0 / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.3337, allocations: 11.94 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3337, allocations: 0 / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3338, allocations: 4 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3338, allocations: 3.984 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3338, allocations: 0 / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.3341, allocations: 205.7 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.3342, allocations: 23.84 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.3342, allocations: 8 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3343, allocations: 7.984 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.3344, allocations: 15.92 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.3344, allocations: 4 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.3347, allocations: 263 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3347, allocations: 0 / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.335, allocations: 43.88 kB / 0.5705 GB, free: 10.95 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.00174/0.3367, allocations: 449.9 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.337, allocations: 103.8 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.337, allocations: 0 / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3372, allocations: 51.91 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3376, allocations: 69.22 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.3384, allocations: 438 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3386, allocations: 145 kB / 0.5717 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.3387, allocations: 23.44 kB / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3387, allocations: 0 / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of Templates: time 0.006657/0.3453, allocations: 3.418 MB / 0.5751 GB, free: 6.418 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 -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: 8.284137036185712]