Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001262/0.001262, allocations: 110.5 kB / 19.69 MB, free: 2.203 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.001622/0.001622, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.428/1.428, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.2156/0.2156, allocations: 44.24 MB / 330.3 MB, free: 9.527 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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.002197/0.002197, allocations: 71.89 kB / 467.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1463, allocations: 61.04 MB / 0.5162 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003687/0.15, allocations: 1.722 MB / 0.5179 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1515, allocations: 0.8312 MB / 0.5187 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1516, allocations: 3.938 kB / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1519, allocations: 39.83 kB / 0.5187 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1521, allocations: 55.7 kB / 0.5188 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1524, allocations: 83.77 kB / 0.5189 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1526, allocations: 99.69 kB / 0.519 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1527, allocations: 12.22 kB / 0.519 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1528, allocations: 43.78 kB / 0.519 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.1529, allocations: 27.84 kB / 0.519 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1529, allocations: 7.938 kB / 0.5191 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.153, allocations: 39.98 kB / 0.5191 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.153, allocations: 15.92 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.1531, allocations: 31.8 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1533, allocations: 107.6 kB / 0.5192 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1533, allocations: 4 kB / 0.5192 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1533, allocations: 0 / 0.5192 GB, free: 4.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.1533, allocations: 0 / 0.5192 GB, free: 4.129 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.0005678/0.1539, allocations: 337.6 kB / 0.5196 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1539, allocations: 8.031 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.154, allocations: 30.75 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.154, allocations: 8.891 kB / 0.5196 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1543, allocations: 154.7 kB / 0.5198 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1543, allocations: 0 / 0.5198 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1544, allocations: 8 kB / 0.5198 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1545, allocations: 53.67 kB / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1545, allocations: 0 / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1545, allocations: 0 / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1545, allocations: 0 / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.1546, allocations: 23.92 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.155, allocations: 255.9 kB / 0.5201 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1552, allocations: 58.67 kB / 0.5201 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.1553, allocations: 16.86 kB / 0.5202 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1553, allocations: 4 kB / 0.5202 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1555, allocations: 67.33 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1555, allocations: 0 / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005621/0.156, allocations: 177.4 kB / 0.5204 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1561, allocations: 55.34 kB / 0.5204 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1563, allocations: 162.4 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1563, allocations: 25.7 kB / 0.5206 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1564, allocations: 100.1 kB / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1564, allocations: 23.8 kB / 0.5207 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1564, allocations: 29.64 kB / 0.5208 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1566, allocations: 322.8 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.1566, allocations: 20 kB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.1567, allocations: 37.7 kB / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1568, allocations: 57.64 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1568, allocations: 0 / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.157, allocations: 105.6 kB / 0.5213 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.157, allocations: 15.97 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1571, allocations: 8.25 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1571, allocations: 0 / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.1572, allocations: 12 kB / 0.5213 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1572, allocations: 4 kB / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1572, allocations: 7.984 kB / 0.5213 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1572, allocations: 4 kB / 0.5213 GB, free: 1.77 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.0001144/0.1573, allocations: 121.8 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.1574, allocations: 7.953 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.1576, allocations: 122.2 kB / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1576, allocations: 0 / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1576, allocations: 0 / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1576, allocations: 0 / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.1581, allocations: 366.3 kB / 0.5219 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.1581, allocations: 4 kB / 0.5219 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.1581, allocations: 4 kB / 0.5219 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1581, allocations: 4 kB / 0.5219 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1581, allocations: 8.016 kB / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1581, allocations: 0 / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1581, allocations: 7.984 kB / 0.522 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1584, allocations: 200.2 kB / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.1584, allocations: 7.953 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1584, allocations: 8 kB / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1585, allocations: 4 kB / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.1585, allocations: 7.984 kB / 0.5222 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1585, allocations: 4 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1586, allocations: 123.9 kB / 0.5223 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1586, allocations: 0 / 0.5223 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1589, allocations: 27.92 kB / 0.5223 GB, free: 0.6719 MB / 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 (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.002202/0.1611, allocations: 1.102 MB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1613, allocations: 59.95 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1613, allocations: 3.938 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.87e-05/0.1613, allocations: 23.98 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1617, allocations: 31.92 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1635, allocations: 1.57 MB / 0.525 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1639, allocations: 0.7041 MB / 0.5257 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.164, allocations: 17.28 kB / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.164, allocations: 31.42 kB / 0.5258 GB, free: 13.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.164, allocations: 0 / 0.5258 GB, free: 13.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.1925, allocations: 3.432 MB / 0.5291 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.14, allocations: 16.84 kB / 0.5292 GB, free: 9.488 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.449863034998998]