Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, 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.001356/0.001356, 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.467/1.467, 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.2598/0.2598, allocations: 46.1 MB / 344.2 MB, free: 11.57 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.002244/0.002244, allocations: 75.28 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1286, allocations: 62.46 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003073/0.1317, allocations: 1.918 MB / 482.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1335, allocations: 1.126 MB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.1336, allocations: 0 / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1339, allocations: 163.5 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.1343, allocations: 183.3 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1346, allocations: 123.5 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1348, allocations: 235.3 kB / 484 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.135, allocations: 33.67 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1351, allocations: 103.6 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1353, allocations: 139.4 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1353, allocations: 8 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1354, allocations: 59.98 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.1355, allocations: 47.83 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.1356, allocations: 91.3 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1359, allocations: 219.5 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1359, allocations: 4 kB / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1359, allocations: 0 / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1359, allocations: 0 / 484.6 MB, free: 0.6953 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.0008074/0.1367, allocations: 0.5332 MB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1368, allocations: 11.97 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.1368, allocations: 42.73 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.1369, allocations: 24.66 kB / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1372, allocations: 283.4 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1372, allocations: 8.375 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1373, allocations: 11.94 kB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1375, allocations: 107.3 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1375, allocations: 7.922 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.1376, allocations: 4 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1376, allocations: 4 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1377, allocations: 39.97 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.1383, allocations: 480.7 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1386, allocations: 121.2 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1387, allocations: 49.77 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1388, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.139, allocations: 117.1 kB / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.139, allocations: 0 / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00129/0.1403, allocations: 496.9 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.1404, allocations: 81.05 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.1408, allocations: 375.3 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1409, allocations: 29.7 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.141, allocations: 156.4 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.1411, allocations: 71.03 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.1412, allocations: 41.7 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1414, allocations: 342.8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1415, allocations: 59.97 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1417, allocations: 91.39 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.1419, allocations: 159.5 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.142, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004219/0.1424, allocations: 237 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1424, allocations: 8 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1424, allocations: 0 / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1424, allocations: 0 / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1426, allocations: 39.98 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1426, allocations: 0 / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.1427, allocations: 20.05 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1427, allocations: 8 kB / 488.6 MB, free: 12.4 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.0001691/0.1429, allocations: 150.2 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.143, allocations: 39.56 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.1431, allocations: 34.06 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1431, allocations: 4 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.1431, allocations: 3.984 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1431, allocations: 3.938 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.1441, allocations: 0.7232 MB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1441, allocations: 4 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.1442, allocations: 31.92 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1442, allocations: 128 / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1442, allocations: 12 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.1442, allocations: 7.984 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1442, allocations: 3.938 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.1447, allocations: 417.3 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.1448, allocations: 100.8 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1449, allocations: 8 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.145, allocations: 12 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.1451, allocations: 27.89 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1451, allocations: 12 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.1454, allocations: 273.9 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1454, allocations: 4 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1457, allocations: 51.98 kB / 490.5 MB, free: 10.38 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.002508/0.1482, allocations: 1.351 MB / 491.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.1486, allocations: 167.8 kB / 492 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1486, allocations: 0 / 492 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1488, allocations: 88.22 kB / 492.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.1494, allocations: 69.2 kB / 492.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.1527, allocations: 2.713 MB / 494.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1531, allocations: 0.7751 MB / 495.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.1532, allocations: 49.84 kB / 495.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1534, allocations: 87.41 kB / 495.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1534, allocations: 0 / 495.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.2052, allocations: 5.973 MB / 0.49 GB, free: 15.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.389, allocations: 9.969 kB / 0.49 GB, free: 15.21 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)