Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 111.4 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.00133, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB 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.001385/0.001385, allocations: 73.47 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1211, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004248/0.1254, allocations: 2.307 MB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1275, allocations: 1.17 MB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1277, allocations: 11.94 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.1283, allocations: 291 kB / 0.4912 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.1289, allocations: 270.9 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.1297, allocations: 327.3 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005961/0.1303, allocations: 0.5063 MB / 0.4922 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1305, allocations: 53.06 kB / 0.4923 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1308, allocations: 231 kB / 0.4925 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1311, allocations: 259 kB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.1311, allocations: 20 kB / 0.4928 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1313, allocations: 55.98 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1314, allocations: 111.5 kB / 0.4929 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1316, allocations: 178.7 kB / 0.4931 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.132, allocations: 394.4 kB / 0.4935 GB, free: 6.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.132, allocations: 4 kB / 0.4935 GB, free: 6.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.132, allocations: 0 / 0.4935 GB, free: 6.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.132, allocations: 4 kB / 0.4935 GB, free: 6.066 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001178/0.1332, allocations: 0.759 MB / 0.4942 GB, free: 5.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1333, allocations: 15.89 kB / 0.4942 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.1333, allocations: 46.73 kB / 0.4943 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.1334, allocations: 52.28 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.134, allocations: 407.9 kB / 0.4947 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.1341, allocations: 16.38 kB / 0.4947 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1341, allocations: 15.94 kB / 0.4947 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.1346, allocations: 198.3 kB / 0.4949 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1346, allocations: 4 kB / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.1346, allocations: 11.98 kB / 0.4949 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1346, allocations: 4 kB / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1349, allocations: 95.88 kB / 0.495 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.136, allocations: 0.8487 MB / 0.4959 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.1366, allocations: 293.2 kB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1369, allocations: 100.2 kB / 0.4962 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.1369, allocations: 11.97 kB / 0.4963 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.1373, allocations: 224.2 kB / 0.4965 GB, free: 2.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.1373, allocations: 0 / 0.4965 GB, free: 2.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001977/0.1393, allocations: 0.9793 MB / 0.4974 GB, free: 1.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.1394, allocations: 170.1 kB / 0.4976 GB, free: 1.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.1401, allocations: 0.6082 MB / 0.4982 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1401, allocations: 41.7 kB / 0.4982 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1403, allocations: 224.9 kB / 0.4984 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1404, allocations: 126.3 kB / 0.4986 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.1405, allocations: 66.14 kB / 0.4986 GB, free: 448 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1406, allocations: 370.8 kB / 0.499 GB, free: 68 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.1409, allocations: 96.91 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1412, allocations: 188.8 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.1417, allocations: 296.7 kB / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1417, allocations: 5.875 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007399/0.1424, allocations: 404.7 kB / 0.4999 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1425, allocations: 7.938 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1425, allocations: 4 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.1425, allocations: 7.984 kB / 0.4999 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.1428, allocations: 83.89 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1429, allocations: 4 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.143, allocations: 23.92 kB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.1431, allocations: 20 kB / 0.5001 GB, free: 14.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002083/0.1433, allocations: 212.3 kB / 0.5003 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.1434, allocations: 59.25 kB / 0.5003 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1435, allocations: 68.28 kB / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1435, allocations: 8 kB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1435, allocations: 0 / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1435, allocations: 7.984 kB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.145, allocations: 1.253 MB / 0.5016 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1451, allocations: 4 kB / 0.5016 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1452, allocations: 47.92 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1452, allocations: 4 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.1453, allocations: 28.08 kB / 0.5017 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1453, allocations: 4 kB / 0.5017 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1453, allocations: 4 kB / 0.5017 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.1461, allocations: 0.8122 MB / 0.5025 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.1462, allocations: 120.5 kB / 0.5026 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.1463, allocations: 23.92 kB / 0.5026 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.1466, allocations: 19.98 kB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.1467, allocations: 31.91 kB / 0.5027 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.1467, allocations: 23.98 kB / 0.5027 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004372/0.1472, allocations: 454.8 kB / 0.5031 GB, free: 11.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1472, allocations: 0 / 0.5031 GB, free: 11.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.1477, allocations: 83.98 kB / 0.5032 GB, free: 11.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002034/0.1498, allocations: 1.74 MB / 0.5049 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.1504, allocations: 291.7 kB / 0.5052 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1504, allocations: 0 / 0.5052 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.1507, allocations: 148.4 kB / 0.5053 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1517, allocations: 151.6 kB / 0.5055 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.157, allocations: 4.382 MB / 0.5098 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.1575, allocations: 0.8512 MB / 0.5106 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.1577, allocations: 79.39 kB / 0.5107 GB, free: 3.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.1579, allocations: 175.4 kB / 0.5108 GB, free: 3.484 MB / 398.1 MB Notification: Performance of SimCode: time 1.694e-06/0.1579, allocations: 0 / 0.5108 GB, free: 3.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.1881, allocations: 10.54 MB / 0.5211 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.728, allocations: 0 / 0.5211 GB, free: 8.91 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)