Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001333, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.7 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.374/0.374, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4195, allocations: 60.8 MB / 0.5064 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003678/0.4232, allocations: 1.991 MB / 0.5083 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.4249, allocations: 1.039 MB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.425, allocations: 0 / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.4257, allocations: 197 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.426, allocations: 135.2 kB / 0.5097 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.4265, allocations: 207.7 kB / 0.5099 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.4268, allocations: 248.3 kB / 0.5101 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4269, allocations: 28.56 kB / 0.5101 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.427, allocations: 97.55 kB / 0.5102 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4272, allocations: 106.4 kB / 0.5103 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.4272, allocations: 2.875 kB / 0.5103 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4273, allocations: 47.56 kB / 0.5104 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.4274, allocations: 43.03 kB / 0.5104 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.4275, allocations: 82.19 kB / 0.5105 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.4278, allocations: 231.3 kB / 0.5107 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4278, allocations: 4 kB / 0.5107 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4278, allocations: 3.938 kB / 0.5107 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4278, allocations: 0 / 0.5107 GB, free: 35.64 MB / 378.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.000786/0.4286, allocations: 0.5274 MB / 0.5112 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4286, allocations: 11.5 kB / 0.5112 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4287, allocations: 21.31 kB / 0.5113 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.429, allocations: 283.1 kB / 0.5115 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4291, allocations: 3.25 kB / 0.5115 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.4291, allocations: 19.09 kB / 0.5116 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.4293, allocations: 101.8 kB / 0.5117 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4294, allocations: 3.141 kB / 0.5117 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4294, allocations: 0 / 0.5117 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.4294, allocations: 0 / 0.5117 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4295, allocations: 45.86 kB / 0.5117 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.43, allocations: 382.2 kB / 0.5121 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.4302, allocations: 115 kB / 0.5122 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.4303, allocations: 45.77 kB / 0.5122 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.4304, allocations: 2.969 kB / 0.5122 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.4306, allocations: 116.5 kB / 0.5123 GB, free: 34.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4306, allocations: 0 / 0.5123 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004062/0.431, allocations: 182.9 kB / 0.5125 GB, free: 34.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4311, allocations: 106.8 kB / 0.5126 GB, free: 34.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.4314, allocations: 331.3 kB / 0.5129 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4314, allocations: 32.55 kB / 0.513 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.4315, allocations: 142.1 kB / 0.5131 GB, free: 33.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.4315, allocations: 29.33 kB / 0.5131 GB, free: 33.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.4316, allocations: 29.47 kB / 0.5132 GB, free: 33.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.4316, allocations: 349.2 kB / 0.5135 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.4317, allocations: 28.48 kB / 0.5135 GB, free: 33.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4318, allocations: 75.88 kB / 0.5136 GB, free: 33.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.432, allocations: 105 kB / 0.5137 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.432, allocations: 0 / 0.5137 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002495/0.4323, allocations: 141.5 kB / 0.5138 GB, free: 33.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4323, allocations: 6.188 kB / 0.5138 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4323, allocations: 0.7812 kB / 0.5138 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4323, allocations: 1.344 kB / 0.5138 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4325, allocations: 29.02 kB / 0.5139 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4325, allocations: 1.562 kB / 0.5139 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.4326, allocations: 17.03 kB / 0.5139 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4326, allocations: 8.125 kB / 0.5139 GB, free: 33.11 MB / 378.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 0.0001216/0.4327, allocations: 150.2 kB / 0.514 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.4328, allocations: 23.34 kB / 0.514 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.4328, allocations: 26.55 kB / 0.5141 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4328, allocations: 6.469 kB / 0.5141 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4328, allocations: 3.375 kB / 0.5141 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4329, allocations: 2.688 kB / 0.5141 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.433, allocations: 253.1 kB / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.433, allocations: 4 kB / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.4331, allocations: 9.469 kB / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4331, allocations: 2.938 kB / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4331, allocations: 0 / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4331, allocations: 3.062 kB / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4331, allocations: 0 / 0.5143 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.4337, allocations: 0.807 MB / 0.5151 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.4337, allocations: 102.4 kB / 0.5152 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.4338, allocations: 6.094 kB / 0.5152 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.4338, allocations: 4.078 kB / 0.5152 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.4339, allocations: 12.83 kB / 0.5153 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4339, allocations: 6.734 kB / 0.5153 GB, free: 31.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.4342, allocations: 247.6 kB / 0.5155 GB, free: 31.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4342, allocations: 4 kB / 0.5155 GB, free: 31.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.4345, allocations: 39.84 kB / 0.5155 GB, free: 31.71 MB / 378.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.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.0009129/0.4354, allocations: 424.3 kB / 0.5159 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4357, allocations: 94.47 kB / 0.516 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4357, allocations: 0 / 0.516 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.4358, allocations: 45.95 kB / 0.5161 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4362, allocations: 59.94 kB / 0.5161 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.4369, allocations: 0.5486 MB / 0.5167 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.4371, allocations: 0.7553 MB / 0.5174 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.4372, allocations: 34.91 kB / 0.5174 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.4373, allocations: 21.28 kB / 0.5175 GB, free: 30.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4373, allocations: 0 / 0.5175 GB, free: 30.32 MB / 378.7 MB Notification: Performance of Templates: time 0.006308/0.4436, allocations: 2.901 MB / 0.5203 GB, free: 30.03 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches