Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.002019/0.002019, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001662/0.001662, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.817/1.817, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2422/0.2422, allocations: 44.26 MB / 331.1 MB, free: 9.312 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",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.002264/0.002264, allocations: 67.91 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1397, allocations: 61.05 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003711/0.1434, allocations: 1.811 MB / 0.5187 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1452, allocations: 0.8674 MB / 0.5196 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.1454, allocations: 7.938 kB / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.146, allocations: 251.4 kB / 0.5198 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.1465, allocations: 187.4 kB / 0.52 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.1471, allocations: 155.6 kB / 0.5202 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.1475, allocations: 243.3 kB / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1477, allocations: 25.72 kB / 0.5204 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.1479, allocations: 123.6 kB / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.1482, allocations: 207.4 kB / 0.5207 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1482, allocations: 8 kB / 0.5207 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1483, allocations: 39.98 kB / 0.5208 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1484, allocations: 67.7 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.1485, allocations: 59.48 kB / 0.5209 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1489, allocations: 231 kB / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1489, allocations: 0 / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1489, allocations: 0 / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1489, allocations: 0 / 0.5211 GB, free: 2.848 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008409/0.1498, allocations: 0.5002 MB / 0.5216 GB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1498, allocations: 12.03 kB / 0.5216 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.334e-05/0.1498, allocations: 4.188 kB / 0.5216 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.1499, allocations: 34.75 kB / 0.5217 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.1499, allocations: 28.75 kB / 0.5217 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.1504, allocations: 218.5 kB / 0.5219 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1504, allocations: 4.125 kB / 0.5219 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1504, allocations: 8 kB / 0.5219 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1507, allocations: 107.3 kB / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1507, allocations: 0 / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1507, allocations: 0 / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1507, allocations: 0 / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.1509, allocations: 43.97 kB / 0.5221 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.1514, allocations: 427.9 kB / 0.5225 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1518, allocations: 121.3 kB / 0.5226 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1519, allocations: 41.7 kB / 0.5226 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1519, allocations: 0 / 0.5226 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1521, allocations: 117 kB / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.1521, allocations: 0 / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00102/0.1532, allocations: 400.8 kB / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.1532, allocations: 85.11 kB / 0.5232 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.1538, allocations: 493.6 kB / 0.5237 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1538, allocations: 29.7 kB / 0.5237 GB, free: 16 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.154, allocations: 160.3 kB / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.154, allocations: 47.64 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.1541, allocations: 37.7 kB / 0.5239 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1543, allocations: 350.7 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1544, allocations: 39.98 kB / 0.5243 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1546, allocations: 79.34 kB / 0.5244 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1549, allocations: 123.3 kB / 0.5245 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1549, allocations: 0 / 0.5245 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003879/0.1552, allocations: 189.3 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1553, allocations: 8 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1553, allocations: 0 / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1553, allocations: 3.938 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1555, allocations: 39.92 kB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1555, allocations: 320 / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1556, allocations: 12.05 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1556, allocations: 12 kB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001771/0.1558, allocations: 169.7 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.1558, allocations: 35.81 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.1563, allocations: 228.2 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1563, allocations: 7.938 kB / 0.5252 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1563, allocations: 0 / 0.5252 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1563, allocations: 0 / 0.5252 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/0.1572, allocations: 0.6155 MB / 0.5258 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1572, allocations: 0 / 0.5258 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.1573, allocations: 27.88 kB / 0.5258 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1573, allocations: 0 / 0.5258 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1573, allocations: 7.984 kB / 0.5258 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1573, allocations: 0 / 0.5258 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1573, allocations: 4 kB / 0.5258 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.1578, allocations: 388.2 kB / 0.5262 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1578, allocations: 31.73 kB / 0.5262 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.1579, allocations: 8.062 kB / 0.5262 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.158, allocations: 4 kB / 0.5262 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.1581, allocations: 20.53 kB / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.1581, allocations: 8 kB / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003805/0.1585, allocations: 371.1 kB / 0.5266 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1585, allocations: 0 / 0.5266 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.1588, allocations: 47.92 kB / 0.5266 GB, free: 12.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00262/0.1614, allocations: 1.304 MB / 0.5279 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1618, allocations: 127.8 kB / 0.528 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1618, allocations: 0 / 0.528 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1619, allocations: 68.08 kB / 0.5281 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.1625, allocations: 53.41 kB / 0.5282 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.1662, allocations: 2.776 MB / 0.5309 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1663, allocations: 161.5 kB / 0.531 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.552e-05/0.1664, allocations: 30.25 kB / 0.531 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1666, allocations: 99.39 kB / 0.5311 GB, free: 8.121 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1666, allocations: 0 / 0.5311 GB, free: 8.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.198, allocations: 6.51 MB / 0.5375 GB, free: 1.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.8, allocations: 11.91 kB / 0.5375 GB, free: 1.477 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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: 15.756371304043569]