Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001717/0.001717, allocations: 117.9 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.001978/0.001978, 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.572/1.572, allocations: 207.6 MB / 230.5 MB, free: 4.016 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.4049/0.4049, allocations: 44.23 MB / 326.5 MB, free: 6.805 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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002457/0.002457, allocations: 72.45 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3126, allocations: 60.99 MB / 0.511 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002969/0.3156, allocations: 1.722 MB / 0.5127 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3167, allocations: 0.8357 MB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.3168, allocations: 3.938 kB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3171, allocations: 40.64 kB / 0.5135 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3173, allocations: 61.47 kB / 0.5136 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.3175, allocations: 86.45 kB / 0.5137 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3177, allocations: 94.62 kB / 0.5137 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3178, allocations: 16.08 kB / 0.5138 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.3179, allocations: 41.14 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.3179, allocations: 43.7 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.318, allocations: 3.312 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3181, allocations: 62.16 kB / 0.5139 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.3181, allocations: 28.28 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.3182, allocations: 27.31 kB / 0.514 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.3184, allocations: 127.8 kB / 0.5141 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3184, allocations: 5.281 kB / 0.5141 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3184, allocations: 0 / 0.5141 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3184, allocations: 0 / 0.5141 GB, free: 10.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004643/0.3189, allocations: 410.7 kB / 0.5145 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3189, allocations: 13.92 kB / 0.5145 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.3189, allocations: 32.47 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.319, allocations: 16.66 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3192, allocations: 202.8 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3192, allocations: 2.156 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3192, allocations: 5.688 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3194, allocations: 81.06 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3194, allocations: 3.953 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3194, allocations: 0 / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3194, allocations: 1.781 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.3195, allocations: 27.3 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3198, allocations: 293.6 kB / 0.5151 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.3199, allocations: 56.12 kB / 0.5152 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.32, allocations: 21.91 kB / 0.5152 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.32, allocations: 1.688 kB / 0.5152 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3202, allocations: 71.48 kB / 0.5153 GB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3202, allocations: 0 / 0.5153 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005429/0.3207, allocations: 185.3 kB / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3207, allocations: 87.78 kB / 0.5155 GB, free: 9.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3209, allocations: 154.9 kB / 0.5157 GB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3209, allocations: 27.08 kB / 0.5157 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.3209, allocations: 100.2 kB / 0.5158 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3209, allocations: 31.94 kB / 0.5158 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.321, allocations: 28.58 kB / 0.5159 GB, free: 9.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.3211, allocations: 321.6 kB / 0.5162 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.3211, allocations: 20.38 kB / 0.5162 GB, free: 8.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.3212, allocations: 45.67 kB / 0.5162 GB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3213, allocations: 66.56 kB / 0.5163 GB, free: 8.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3213, allocations: 0 / 0.5163 GB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001757/0.3215, allocations: 105.6 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3215, allocations: 5.5 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3215, allocations: 0 / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3215, allocations: 1.375 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.3216, allocations: 18.92 kB / 0.5164 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3216, allocations: 1.5 kB / 0.5164 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.3216, allocations: 5.281 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3217, allocations: 12.33 kB / 0.5164 GB, free: 8.691 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 (11): * Single equations (assignments): 11 * 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 7.24e-05/0.3217, allocations: 131.8 kB / 0.5166 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.3218, allocations: 8.422 kB / 0.5166 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.322, allocations: 118.8 kB / 0.5167 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.322, allocations: 1 kB / 0.5167 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.322, allocations: 8.844 kB / 0.5167 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.322, allocations: 3.938 kB / 0.5167 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3224, allocations: 403 kB / 0.5171 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3224, allocations: 1.281 kB / 0.5171 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.3224, allocations: 8.688 kB / 0.5171 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3224, allocations: 5.25 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3224, allocations: 1.281 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3224, allocations: 1.344 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3224, allocations: 3.984 kB / 0.5171 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.3226, allocations: 211.6 kB / 0.5173 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.3226, allocations: 83.25 kB / 0.5174 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3227, allocations: 6.25 kB / 0.5174 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.3227, allocations: 6.422 kB / 0.5174 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.3228, allocations: 7.031 kB / 0.5174 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3228, allocations: 4.656 kB / 0.5174 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.3229, allocations: 115.4 kB / 0.5175 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 1.156 kB / 0.5175 GB, free: 7.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.3231, allocations: 36.98 kB / 0.5175 GB, free: 7.664 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 (9): * Single equations (assignments): 7 * 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.002125/0.3253, allocations: 1.149 MB / 0.5187 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3255, allocations: 54.8 kB / 0.5187 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3255, allocations: 5.375 kB / 0.5187 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/0.3255, allocations: 32.27 kB / 0.5188 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3259, allocations: 41.58 kB / 0.5188 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3273, allocations: 1.58 MB / 0.5203 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3274, allocations: 0.7041 MB / 0.521 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.3275, allocations: 13.19 kB / 0.521 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.3275, allocations: 35.42 kB / 0.5211 GB, free: 4.285 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3275, allocations: 0 / 0.5211 GB, free: 4.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3531, allocations: 3.671 MB / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.492, allocations: 3.953 kB / 0.5247 GB, free: 0.4961 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.579204273410141]