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.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.001321/0.001321, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00155/0.00155, allocations: 219.3 kB / 22.99 MB, free: 4.977 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.581/1.581, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.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.2359/0.2359, allocations: 44.28 MB / 330.4 MB, free: 9.305 MB / 270.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.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: "" <> 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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 78.22 kB / 467.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1408, allocations: 61.03 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003478/0.1443, allocations: 1.688 MB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1458, allocations: 0.7728 MB / 0.5186 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.1459, allocations: 7.938 kB / 0.5186 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.1462, allocations: 79.77 kB / 0.5187 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1465, allocations: 83.66 kB / 0.5188 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1468, allocations: 87.77 kB / 0.5189 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1469, allocations: 107.7 kB / 0.519 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.147, allocations: 12.22 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.1471, allocations: 47.84 kB / 0.519 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1473, allocations: 67.67 kB / 0.5191 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1473, allocations: 4 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1474, allocations: 51.91 kB / 0.5191 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.1474, allocations: 19.92 kB / 0.5192 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.1475, allocations: 27.81 kB / 0.5192 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1477, allocations: 115.6 kB / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1477, allocations: 0 / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1477, allocations: 0 / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1477, allocations: 0 / 0.5193 GB, free: 3.93 MB / 398.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.0006055/0.1483, allocations: 353.4 kB / 0.5196 GB, free: 3.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1484, allocations: 12.03 kB / 0.5196 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.1484, allocations: 34.73 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1485, allocations: 12.84 kB / 0.5197 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1488, allocations: 151.3 kB / 0.5198 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1488, allocations: 8.375 kB / 0.5198 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1488, allocations: 3.938 kB / 0.5198 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.149, allocations: 53.67 kB / 0.5199 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.149, allocations: 4 kB / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.149, allocations: 0 / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.149, allocations: 0 / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.1491, allocations: 23.92 kB / 0.5199 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1495, allocations: 255.9 kB / 0.5202 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1497, allocations: 58.67 kB / 0.5202 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.1498, allocations: 28.83 kB / 0.5202 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1498, allocations: 0 / 0.5202 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.15, allocations: 71.33 kB / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.15, allocations: 0 / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006062/0.1506, allocations: 185.3 kB / 0.5205 GB, free: 2.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1506, allocations: 51.41 kB / 0.5205 GB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1509, allocations: 222.2 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1509, allocations: 33.7 kB / 0.5208 GB, free: 2.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.151, allocations: 108.1 kB / 0.5209 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.151, allocations: 19.8 kB / 0.5209 GB, free: 2.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.151, allocations: 33.7 kB / 0.5209 GB, free: 2.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1512, allocations: 322.8 kB / 0.5212 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.1512, allocations: 23.98 kB / 0.5213 GB, free: 1.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.1513, allocations: 37.64 kB / 0.5213 GB, free: 1.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1515, allocations: 69.7 kB / 0.5214 GB, free: 1.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1515, allocations: 0.5625 kB / 0.5214 GB, free: 1.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.1516, allocations: 97.59 kB / 0.5215 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1517, allocations: 11.88 kB / 0.5215 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1517, allocations: 8.031 kB / 0.5215 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1517, allocations: 4 kB / 0.5215 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1518, allocations: 15.98 kB / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1518, allocations: 0 / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.1518, allocations: 11.94 kB / 0.5215 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1518, allocations: 4 kB / 0.5215 GB, free: 1.441 MB / 398.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 0.0001122/0.152, allocations: 129.8 kB / 0.5216 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.152, allocations: 7.953 kB / 0.5217 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1523, allocations: 123 kB / 0.5218 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1523, allocations: 8 kB / 0.5218 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1523, allocations: 3.984 kB / 0.5218 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1523, allocations: 3.938 kB / 0.5218 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.1528, allocations: 366.4 kB / 0.5221 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1528, allocations: 0 / 0.5221 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.1528, allocations: 15.94 kB / 0.5221 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1528, allocations: 7.938 kB / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1528, allocations: 0 / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1528, allocations: 0 / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1528, allocations: 0 / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1531, allocations: 224.2 kB / 0.5224 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.1531, allocations: 7.953 kB / 0.5224 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1532, allocations: 11.94 kB / 0.5224 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1532, allocations: 0 / 0.5224 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1533, allocations: 7.984 kB / 0.5224 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1533, allocations: 4 kB / 0.5224 GB, free: 456 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1534, allocations: 168.2 kB / 0.5226 GB, free: 288 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 0 / 0.5226 GB, free: 288 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1537, allocations: 23.94 kB / 0.5226 GB, free: 264 kB / 398.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.002388/0.1561, allocations: 1.137 MB / 0.5237 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1563, allocations: 67.89 kB / 0.5238 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1563, allocations: 0 / 0.5238 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.1564, allocations: 31.98 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1567, allocations: 35.41 kB / 0.5238 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.1588, allocations: 1.705 MB / 0.5255 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.1589, allocations: 88.75 kB / 0.5256 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.018e-05/0.159, allocations: 20.66 kB / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.1591, allocations: 39.36 kB / 0.5256 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1591, allocations: 0 / 0.5256 GB, free: 13.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.1937, allocations: 4.162 MB / 0.5297 GB, free: 8.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.37, allocations: 3.938 kB / 0.5297 GB, free: 8.773 MB / 414.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.764925773255527]