Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 105.2 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.001312/0.001312, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2538/0.2538, allocations: 46.12 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.002265/0.002265, allocations: 77.38 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1297, allocations: 62.46 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004049/0.1338, allocations: 1.72 MB / 481.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1359, allocations: 1.025 MB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.136, allocations: 0 / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.1364, allocations: 43.77 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.1368, allocations: 95.59 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.137, allocations: 75.67 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1372, allocations: 111.6 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1373, allocations: 12 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1375, allocations: 39.8 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.1375, allocations: 35.78 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1376, allocations: 4 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1377, allocations: 43.98 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1378, allocations: 15.92 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1378, allocations: 43.73 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1381, allocations: 111.9 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1381, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.152e-06/0.1381, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1381, allocations: 7.938 kB / 483.6 MB, free: 1.699 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.0007228/0.1388, allocations: 418.9 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1389, allocations: 8.031 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.1389, allocations: 30.75 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.139, allocations: 16.84 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1393, allocations: 204.8 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1393, allocations: 4.312 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1393, allocations: 3.938 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1395, allocations: 65.61 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1395, allocations: 3.906 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1395, allocations: 0 / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1395, allocations: 0 / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.1396, allocations: 23.98 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.14, allocations: 280.9 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1402, allocations: 66.61 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.1403, allocations: 20.84 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1403, allocations: 7.969 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1406, allocations: 71.33 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1406, allocations: 0 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006115/0.1412, allocations: 177.2 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1413, allocations: 55.41 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1415, allocations: 206.2 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1416, allocations: 25.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1416, allocations: 104.1 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1417, allocations: 15.72 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.1417, allocations: 25.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1419, allocations: 326.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.1419, allocations: 20 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.142, allocations: 37.64 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1422, allocations: 65.77 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1422, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.1424, allocations: 105.4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1424, allocations: 11.98 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1424, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1424, allocations: 4.031 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.1425, allocations: 12 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1426, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1426, allocations: 7.938 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1426, allocations: 7.984 kB / 486 MB, free: 15.07 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.0001163/0.1428, allocations: 125.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1428, allocations: 7.906 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.1428, allocations: 21.39 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1429, allocations: 7.938 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1429, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1429, allocations: 3.938 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.1434, allocations: 395.2 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1434, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1434, allocations: 11.98 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.1434, allocations: 3.938 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1435, allocations: 4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1435, allocations: 4.031 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1435, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1437, allocations: 196.3 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1438, allocations: 89.11 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1438, allocations: 19.86 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1439, allocations: 3.938 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1439, allocations: 8.375 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.144, allocations: 7.984 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1441, allocations: 144.2 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1441, allocations: 0 / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1444, allocations: 23.98 kB / 487 MB, free: 13.91 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.002154/0.1465, allocations: 1.095 MB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1468, allocations: 67.95 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1468, allocations: 4.062 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.1469, allocations: 31.92 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1472, allocations: 31.61 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1496, allocations: 1.64 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.15, allocations: 0.708 MB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.1501, allocations: 17.19 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.1502, allocations: 35.42 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1502, allocations: 0 / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1744, allocations: 3.401 MB / 494.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.584, allocations: 0 / 494.1 MB, free: 6.988 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)