Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2193/0.2193, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 82.69 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1196, allocations: 62.46 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003467/0.1231, allocations: 1.915 MB / 482.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.125, allocations: 1.13 MB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.1252, allocations: 3.938 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.1256, allocations: 159.5 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.126, allocations: 183.3 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1263, allocations: 115.6 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1266, allocations: 239.3 kB / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1267, allocations: 29.67 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1269, allocations: 111.5 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1271, allocations: 135.5 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1271, allocations: 8 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1272, allocations: 71.91 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.1273, allocations: 43.84 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.1274, allocations: 87.34 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1277, allocations: 219.5 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1277, allocations: 0 / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1277, allocations: 0 / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1277, allocations: 0 / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007538/0.1285, allocations: 0.5448 MB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1285, allocations: 8.031 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1286, allocations: 38.75 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.1287, allocations: 28.69 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.129, allocations: 271.4 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1291, allocations: 12.25 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.1291, allocations: 15.92 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1293, allocations: 105.9 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1294, allocations: 7.984 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1294, allocations: 0 / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1294, allocations: 4 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1295, allocations: 43.97 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.1302, allocations: 476.6 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.1306, allocations: 129.1 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1307, allocations: 45.83 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1307, allocations: 0 / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.1311, allocations: 121.2 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1311, allocations: 0 / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001375/0.1325, allocations: 492.8 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.1325, allocations: 81.11 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.133, allocations: 375.3 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.133, allocations: 29.7 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1331, allocations: 156.3 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.1332, allocations: 67.09 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1333, allocations: 41.7 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1335, allocations: 338.8 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1336, allocations: 59.97 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1338, allocations: 99.34 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.1341, allocations: 159.5 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1341, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004038/0.1345, allocations: 229.1 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1345, allocations: 12.06 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1345, allocations: 0 / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1346, allocations: 0 / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1347, allocations: 51.91 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1347, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.1348, allocations: 8 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1348, allocations: 8 kB / 488.6 MB, free: 12.38 MB / 366.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 (26): * Single equations (assignments): 26 * 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.0001564/0.135, allocations: 158.2 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.135, allocations: 35.56 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.1351, allocations: 37.83 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1351, allocations: 4 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1351, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1352, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.1361, allocations: 0.7348 MB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1361, allocations: 4 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.1362, allocations: 27.98 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1362, allocations: 4 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1362, allocations: 4 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1362, allocations: 4 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1362, allocations: 7.875 kB / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.1367, allocations: 420.9 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.1368, allocations: 96.83 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.1369, allocations: 11.98 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.137, allocations: 8 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.1371, allocations: 27.86 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1371, allocations: 11.98 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.1374, allocations: 273.9 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1374, allocations: 0 / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1378, allocations: 51.98 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.002563/0.1404, allocations: 1.349 MB / 491.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.1408, allocations: 175.7 kB / 492 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1408, allocations: 0 / 492 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.1409, allocations: 79.84 kB / 492.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.1415, allocations: 75.94 kB / 492.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.1448, allocations: 2.706 MB / 494.9 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1452, allocations: 0.7756 MB / 495.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1453, allocations: 37.94 kB / 495.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1455, allocations: 91.39 kB / 495.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1455, allocations: 0 / 495.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.1744, allocations: 5.986 MB / 0.49 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.634, allocations: 12.41 kB / 0.49 GB, free: 15.17 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)