Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.001271, 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.001312/0.001312, 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.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2334/0.2334, allocations: 46.11 MB / 344.2 MB, free: 11.61 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.002892/0.002892, allocations: 86.52 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1255, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003377/0.1289, allocations: 1.919 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1308, allocations: 1.134 MB / 483.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.1309, allocations: 3.938 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.1314, allocations: 251.4 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.1318, allocations: 231.2 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1321, allocations: 111.6 kB / 483.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1324, allocations: 267.3 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1325, allocations: 33.67 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1327, allocations: 139.5 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.133, allocations: 187.4 kB / 484.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.133, allocations: 8 kB / 484.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1331, allocations: 55.98 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.1332, allocations: 67.75 kB / 484.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1333, allocations: 107.1 kB / 484.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1337, allocations: 247.4 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1337, allocations: 3.938 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1337, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1337, allocations: 0 / 484.9 MB, free: 420 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007257/0.1344, allocations: 0.5874 MB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1345, allocations: 8.031 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.1345, allocations: 42.67 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1346, allocations: 32.56 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1349, allocations: 290.4 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1349, allocations: 4.375 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.135, allocations: 15.94 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1352, allocations: 109.7 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1353, allocations: 11.91 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1353, allocations: 0 / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1353, allocations: 4 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1354, allocations: 43.97 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.136, allocations: 488.7 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.1364, allocations: 125.2 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.1365, allocations: 45.83 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1365, allocations: 4 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.1368, allocations: 117.1 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1368, allocations: 0 / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.1381, allocations: 0.5043 MB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.1382, allocations: 85.11 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.1387, allocations: 497.6 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1387, allocations: 33.7 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1388, allocations: 172.5 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.1389, allocations: 71 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.139, allocations: 41.7 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1392, allocations: 346.8 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1393, allocations: 59.97 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1394, allocations: 91.41 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.1397, allocations: 163.4 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1397, allocations: 0 / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003986/0.1401, allocations: 245 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1402, allocations: 4 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1402, allocations: 4 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1402, allocations: 0 / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1404, allocations: 47.97 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1404, allocations: 3.938 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.1404, allocations: 4 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1405, allocations: 12 kB / 489.2 MB, free: 11.87 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.0001662/0.1406, allocations: 170.3 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.1407, allocations: 43.5 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.1408, allocations: 46.89 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1408, allocations: 0 / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1408, allocations: 4 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1408, allocations: 7.984 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.1417, allocations: 0.7389 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1418, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.1418, allocations: 35.92 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1419, allocations: 4 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1419, allocations: 4 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1419, allocations: 4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1419, allocations: 3.938 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.1424, allocations: 429.3 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.1424, allocations: 104.7 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.1425, allocations: 11.94 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1426, allocations: 11.98 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1427, allocations: 19.92 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1427, allocations: 15.98 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.1431, allocations: 371.1 kB / 491.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.953e-06/0.1431, allocations: 0 / 491.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1434, allocations: 51.94 kB / 491.2 MB, free: 9.691 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.002453/0.1459, allocations: 1.369 MB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1462, allocations: 167.7 kB / 492.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1462, allocations: 0 / 492.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1464, allocations: 83.84 kB / 492.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.1469, allocations: 71.44 kB / 492.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.1504, allocations: 3.013 MB / 495.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.1508, allocations: 0.7908 MB / 496.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.151, allocations: 33.92 kB / 496.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.1511, allocations: 111.4 kB / 496.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1511, allocations: 0 / 496.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.2041, allocations: 6.541 MB / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.341, allocations: 3.781 kB / 0.4916 GB, free: 13.62 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)