Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, 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.001297/0.001298, 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.427/1.427, 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.2205/0.2205, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002181/0.002181, allocations: 94.67 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1338, allocations: 62.44 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003881/0.1377, allocations: 1.836 MB / 482 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.141, allocations: 1.706 MB / 483.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1412, allocations: 3.938 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.1416, allocations: 51.69 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.1422, allocations: 131.4 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1426, allocations: 111.6 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.143, allocations: 195.4 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.1431, allocations: 17.62 kB / 484.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1433, allocations: 83.64 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.1437, allocations: 79.61 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.1437, allocations: 8 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.144, allocations: 115.9 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.1441, allocations: 35.84 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.1442, allocations: 63.55 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.1446, allocations: 223.6 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1446, allocations: 0 / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1446, allocations: 0 / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1446, allocations: 7.984 kB / 484.9 MB, free: 472 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008915/0.1455, allocations: 498.5 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1456, allocations: 12.02 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.1457, allocations: 30.75 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.1457, allocations: 24.66 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1461, allocations: 256.9 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1462, allocations: 384 / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1462, allocations: 7.938 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.1465, allocations: 105 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1465, allocations: 0 / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1465, allocations: 4 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1465, allocations: 0 / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1466, allocations: 23.98 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.147, allocations: 226.4 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1474, allocations: 113.1 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1475, allocations: 41.69 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1475, allocations: 8 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.1479, allocations: 105 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1479, allocations: 4 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005126/0.1484, allocations: 161.4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1485, allocations: 140.4 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.1488, allocations: 236.2 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1489, allocations: 33.7 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.149, allocations: 116.1 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.149, allocations: 27.66 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1491, allocations: 29.7 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1493, allocations: 326.8 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1494, allocations: 27.98 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1495, allocations: 85.5 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1497, allocations: 91.36 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1497, allocations: 3.938 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.1501, allocations: 141.3 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1501, allocations: 4 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1501, allocations: 4 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1501, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1502, allocations: 23.98 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1503, allocations: 3.938 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.1503, allocations: 8 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1504, allocations: 4 kB / 487.7 MB, free: 13.27 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001374/0.1505, allocations: 137.8 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.1506, allocations: 19.72 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.1506, allocations: 24.98 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1506, allocations: 0 / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1506, allocations: 0 / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1506, allocations: 4 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1509, allocations: 225.4 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1509, allocations: 0 / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1509, allocations: 11.98 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1509, allocations: 0 / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.151, allocations: 4 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.151, allocations: 12.06 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.151, allocations: 0 / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1513, allocations: 173.6 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/0.1514, allocations: 92.91 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.1515, allocations: 4 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1515, allocations: 7.984 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1516, allocations: 8.094 kB / 488.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1516, allocations: 15.92 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1518, allocations: 177.6 kB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1518, allocations: 0 / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1521, allocations: 51.98 kB / 488.7 MB, free: 12.23 MB / 366.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002357/0.1545, allocations: 1.1 MB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1548, allocations: 79.91 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1548, allocations: 3.938 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1549, allocations: 43.97 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1554, allocations: 65.5 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.158, allocations: 1.881 MB / 491.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1584, allocations: 0.7164 MB / 492.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1585, allocations: 33.52 kB / 492.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1587, allocations: 59.41 kB / 492.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1587, allocations: 0 / 492.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05268/0.2114, allocations: 5.206 MB / 497.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.221/9.432, allocations: 7.125 kB / 497.9 MB, free: 3.145 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)