Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 117 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 192.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3757/0.3757, allocations: 44.23 MB / 326.5 MB, free: 6.855 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.88 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3597, allocations: 60.99 MB / 0.511 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003811/0.3635, allocations: 1.716 MB / 0.5126 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.365, allocations: 0.8116 MB / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.3651, allocations: 0 / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.3655, allocations: 90.08 kB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.3658, allocations: 68.64 kB / 0.5136 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3661, allocations: 90.59 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.3663, allocations: 100.8 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3664, allocations: 12.19 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3665, allocations: 61.75 kB / 0.5138 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3667, allocations: 64.56 kB / 0.5139 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3667, allocations: 4.125 kB / 0.5139 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3668, allocations: 42.11 kB / 0.514 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.3668, allocations: 24.11 kB / 0.514 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3669, allocations: 43.97 kB / 0.514 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3671, allocations: 113 kB / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3671, allocations: 0 / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3671, allocations: 1.219 kB / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3671, allocations: 0 / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005967/0.3677, allocations: 430.1 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3678, allocations: 12.77 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.3678, allocations: 32.12 kB / 0.5146 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.3679, allocations: 18.09 kB / 0.5146 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3681, allocations: 208.4 kB / 0.5148 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3682, allocations: 1.406 kB / 0.5148 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3682, allocations: 6.125 kB / 0.5148 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3683, allocations: 54.48 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3683, allocations: 4 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3684, allocations: 1.344 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.3684, allocations: 3.938 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.3684, allocations: 18.05 kB / 0.5149 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.3688, allocations: 296.8 kB / 0.5152 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3689, allocations: 51.08 kB / 0.5152 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.369, allocations: 28.59 kB / 0.5152 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.369, allocations: 1.156 kB / 0.5152 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3692, allocations: 65.73 kB / 0.5153 GB, free: 9.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3692, allocations: 0 / 0.5153 GB, free: 9.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005824/0.3698, allocations: 178.9 kB / 0.5155 GB, free: 9.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3698, allocations: 56.66 kB / 0.5155 GB, free: 9.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.37, allocations: 220.6 kB / 0.5157 GB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.37, allocations: 27.11 kB / 0.5158 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.3701, allocations: 106.1 kB / 0.5159 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.3701, allocations: 23.59 kB / 0.5159 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3701, allocations: 20 kB / 0.5159 GB, free: 9.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.3702, allocations: 322.8 kB / 0.5162 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.3703, allocations: 22.86 kB / 0.5162 GB, free: 8.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.3703, allocations: 47.08 kB / 0.5163 GB, free: 8.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.903e-05/0.3704, allocations: 63.2 kB / 0.5163 GB, free: 8.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3704, allocations: 0 / 0.5163 GB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.3706, allocations: 112 kB / 0.5164 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3706, allocations: 5.562 kB / 0.5165 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3706, allocations: 1.469 kB / 0.5165 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3706, allocations: 0 / 0.5165 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.3707, allocations: 21.55 kB / 0.5165 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3707, allocations: 1.344 kB / 0.5165 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.3708, allocations: 9.344 kB / 0.5165 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3708, allocations: 6.656 kB / 0.5165 GB, free: 8.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.727e-05/0.3708, allocations: 124.8 kB / 0.5166 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3709, allocations: 14.83 kB / 0.5166 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3709, allocations: 14.91 kB / 0.5166 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3709, allocations: 1.375 kB / 0.5166 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3709, allocations: 7.938 kB / 0.5166 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3709, allocations: 7.922 kB / 0.5167 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.3713, allocations: 395.9 kB / 0.517 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3713, allocations: 0 / 0.517 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.3713, allocations: 12.19 kB / 0.517 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3713, allocations: 5.312 kB / 0.517 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3713, allocations: 1.375 kB / 0.517 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3713, allocations: 5.359 kB / 0.5171 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3713, allocations: 0 / 0.5171 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3715, allocations: 200.4 kB / 0.5172 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.3715, allocations: 89.14 kB / 0.5173 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3715, allocations: 5.312 kB / 0.5173 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.3716, allocations: 1.375 kB / 0.5173 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3716, allocations: 16.05 kB / 0.5174 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3717, allocations: 2.75 kB / 0.5174 GB, free: 7.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3718, allocations: 160.7 kB / 0.5175 GB, free: 7.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3718, allocations: 0 / 0.5175 GB, free: 7.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.372, allocations: 24.48 kB / 0.5175 GB, free: 7.777 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001974/0.374, allocations: 1.107 MB / 0.5186 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3742, allocations: 66.48 kB / 0.5187 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3742, allocations: 0 / 0.5187 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.3743, allocations: 28.2 kB / 0.5187 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3746, allocations: 35.88 kB / 0.5187 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.376, allocations: 1.686 MB / 0.5204 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.3761, allocations: 0.7041 MB / 0.5211 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.3761, allocations: 20.48 kB / 0.5211 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.3762, allocations: 39.42 kB / 0.5211 GB, free: 4.117 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3762, allocations: 0 / 0.5211 GB, free: 4.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.4007, allocations: 3.51 MB / 0.5246 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.682, allocations: 0.875 kB / 0.5246 GB, free: 0.5352 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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: 11.555011931341141]