Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002426/0.002426, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2493/0.2493, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002276/0.002276, allocations: 81.36 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 62.46 MB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003253/0.13, allocations: 1.723 MB / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1326, allocations: 1.623 MB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.1327, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1331, allocations: 39.77 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1334, allocations: 107.5 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1337, allocations: 79.66 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1339, allocations: 103.7 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.134, allocations: 11.98 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1341, allocations: 51.78 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1343, allocations: 47.7 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1344, allocations: 4 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.1346, allocations: 99.94 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.1346, allocations: 23.92 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.1347, allocations: 35.73 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.135, allocations: 163.8 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.135, allocations: 4 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.135, allocations: 0 / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.135, allocations: 4 kB / 484.3 MB, free: 0.9609 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000611/0.1356, allocations: 419 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1357, allocations: 12.03 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.1357, allocations: 38.73 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.1358, allocations: 8.844 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.136, allocations: 223.3 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.136, allocations: 0 / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1361, allocations: 8 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1362, allocations: 67.39 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1363, allocations: 0 / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1363, allocations: 4 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1363, allocations: 0 / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.1364, allocations: 19.98 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.1368, allocations: 288.8 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.137, allocations: 58.69 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.137, allocations: 20.84 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1371, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.1373, allocations: 67.39 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1373, allocations: 11.88 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005755/0.1379, allocations: 177.2 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.138, allocations: 81.05 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1382, allocations: 166.4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1382, allocations: 29.7 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.1383, allocations: 100.1 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1383, allocations: 23.66 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.1384, allocations: 21.7 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1386, allocations: 326.8 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.1386, allocations: 20.38 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.1387, allocations: 42.56 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1388, allocations: 61.58 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1388, allocations: 4 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1391, allocations: 101.6 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1391, allocations: 8 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1391, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1391, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.1392, allocations: 19.88 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1392, allocations: 4 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.1393, allocations: 3.984 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1393, allocations: 8 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001099/0.1394, allocations: 129.2 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1394, allocations: 11.81 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1395, allocations: 16.7 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1395, allocations: 3.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1395, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1395, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.14, allocations: 395.3 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.14, allocations: 3.938 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1401, allocations: 12.03 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1401, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1401, allocations: 7.984 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1401, allocations: 4 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1401, allocations: 3.938 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1404, allocations: 196.3 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.1404, allocations: 88.95 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1405, allocations: 8.188 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.1406, allocations: 7.984 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1406, allocations: 3.938 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1406, allocations: 8 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1407, allocations: 126.3 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1408, allocations: 0 / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.1411, allocations: 47.98 kB / 487.8 MB, free: 13.15 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002421/0.1435, allocations: 1.177 MB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1437, allocations: 67.91 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1437, allocations: 0 / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.1438, allocations: 35.92 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1442, allocations: 26.34 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.146, allocations: 1.581 MB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1464, allocations: 0.6973 MB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.312e-05/0.1465, allocations: 16.89 kB / 491.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.1466, allocations: 39.41 kB / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1466, allocations: 0 / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.1751, allocations: 3.958 MB / 495.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.144, allocations: 7.922 kB / 495.4 MB, free: 5.684 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)