Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.001287/0.001287, allocations: 118.1 kB / 17.13 MB, free: 5.777 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.001459/0.001459, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.537/1.537, allocations: 207.6 MB / 230.5 MB, free: 3.984 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.3487/0.3487, allocations: 44.23 MB / 326.5 MB, free: 6.852 MB / 254.1 MB " [Timeout remaining time 180] 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.002117/0.002117, allocations: 75.89 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 61 MB / 0.511 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002438/0.3304, allocations: 1.707 MB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3315, allocations: 0.8114 MB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.3316, allocations: 0 / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.3319, allocations: 45.89 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3321, allocations: 55.36 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3323, allocations: 86.12 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3324, allocations: 87.23 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.3325, allocations: 16.55 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.3326, allocations: 43.88 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.3327, allocations: 37.38 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3327, allocations: 3.844 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.3328, allocations: 43.28 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.3328, allocations: 18.62 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.3329, allocations: 31.77 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.333, allocations: 113.8 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.333, allocations: 1.094 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.333, allocations: 0 / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.333, allocations: 7.938 kB / 0.514 GB, free: 10.88 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.0004741/0.3335, allocations: 415.6 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3336, allocations: 13.17 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.3336, allocations: 32.25 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.3336, allocations: 17.5 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3339, allocations: 216 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3339, allocations: 6.109 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3339, allocations: 5.5 kB / 0.5147 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.334, allocations: 62.36 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.334, allocations: 0 / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.334, allocations: 0 / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.334, allocations: 1.938 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.3341, allocations: 17.67 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.3344, allocations: 282.9 kB / 0.515 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3345, allocations: 63.27 kB / 0.5151 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.3346, allocations: 20.2 kB / 0.5151 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3346, allocations: 1.406 kB / 0.5151 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.3347, allocations: 69.12 kB / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3347, allocations: 0 / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.3352, allocations: 174.3 kB / 0.5153 GB, free: 9.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.3353, allocations: 56.84 kB / 0.5154 GB, free: 9.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3354, allocations: 190.8 kB / 0.5156 GB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.3354, allocations: 25.7 kB / 0.5156 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.3354, allocations: 104.7 kB / 0.5157 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3355, allocations: 23.97 kB / 0.5157 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.3355, allocations: 24.58 kB / 0.5157 GB, free: 9.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.3355, allocations: 321.6 kB / 0.5161 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.3356, allocations: 19 kB / 0.5161 GB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.3357, allocations: 43.39 kB / 0.5161 GB, free: 8.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.118e-05/0.3357, allocations: 55.83 kB / 0.5162 GB, free: 8.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3357, allocations: 0 / 0.5162 GB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.3359, allocations: 108.1 kB / 0.5163 GB, free: 8.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3359, allocations: 8.109 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3359, allocations: 1.375 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3359, allocations: 5.406 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.336, allocations: 12.38 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.336, allocations: 1.531 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.3361, allocations: 9.672 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3361, allocations: 8.109 kB / 0.5163 GB, free: 8.68 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.22e-05/0.3361, allocations: 126 kB / 0.5164 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.3361, allocations: 9.453 kB / 0.5164 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.3362, allocations: 20.83 kB / 0.5165 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3362, allocations: 5.375 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3362, allocations: 1.375 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3362, allocations: 3.938 kB / 0.5165 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3365, allocations: 397.1 kB / 0.5168 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3365, allocations: 0 / 0.5168 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.3365, allocations: 8.25 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3365, allocations: 5.312 kB / 0.5169 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.3365, allocations: 5.359 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3366, allocations: 1.375 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3366, allocations: 4.219 kB / 0.5169 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3367, allocations: 196.3 kB / 0.5171 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.3367, allocations: 91.7 kB / 0.5171 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3368, allocations: 10.62 kB / 0.5172 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.3368, allocations: 9.359 kB / 0.5172 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.3369, allocations: 4.125 kB / 0.5172 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3369, allocations: 6.75 kB / 0.5172 GB, free: 7.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.11e-05/0.337, allocations: 145.2 kB / 0.5173 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.337, allocations: 0 / 0.5173 GB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3372, allocations: 20.5 kB / 0.5173 GB, free: 7.723 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.001882/0.3391, allocations: 1.116 MB / 0.5184 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3393, allocations: 48.39 kB / 0.5185 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3393, allocations: 0 / 0.5185 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.3394, allocations: 31.89 kB / 0.5185 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3397, allocations: 37.38 kB / 0.5185 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3412, allocations: 1.634 MB / 0.5201 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.3413, allocations: 0.7041 MB / 0.5208 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.3413, allocations: 12.89 kB / 0.5208 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.3414, allocations: 35.42 kB / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3414, allocations: 3.938 kB / 0.5209 GB, free: 4.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.3659, allocations: 3.399 MB / 0.5242 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.566, allocations: 0 / 0.5242 GB, free: 0.9219 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.559351457748562]