Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2422/0.2422, 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.0032/0.0032, allocations: 84.73 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.121, allocations: 62.46 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002913/0.124, allocations: 1.72 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1262, allocations: 1.631 MB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.1263, allocations: 0 / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1266, allocations: 35.78 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1269, allocations: 107.5 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1271, allocations: 79.66 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1273, allocations: 99.7 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.1274, allocations: 15.98 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.1275, allocations: 47.78 kB / 484 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1276, allocations: 47.7 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1277, allocations: 8 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.1279, allocations: 99.94 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1279, allocations: 15.92 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.128, allocations: 43.72 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1283, allocations: 167.8 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1283, allocations: 0 / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1283, allocations: 0 / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1283, allocations: 4 kB / 484.3 MB, free: 0.9961 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.0005423/0.1288, allocations: 423 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1289, allocations: 12.03 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1289, allocations: 30.75 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.129, allocations: 12.84 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1292, allocations: 212.3 kB / 485 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1292, allocations: 7.984 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1292, allocations: 4 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1294, allocations: 67.39 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1294, allocations: 3.984 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1294, allocations: 4 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1294, allocations: 3.938 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.1295, allocations: 19.98 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1299, allocations: 292.8 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.13, allocations: 54.67 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.1301, allocations: 24.84 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1301, allocations: 0 / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.1303, allocations: 71.33 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1303, allocations: 4 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005102/0.1308, allocations: 177.2 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1309, allocations: 88.98 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1311, allocations: 159.9 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1311, allocations: 29.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.1312, allocations: 92.14 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1312, allocations: 27.64 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.1312, allocations: 25.72 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1314, allocations: 326.8 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.1314, allocations: 19.98 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.1315, allocations: 46.5 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1316, allocations: 61.64 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1316, allocations: 0 / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.1318, allocations: 97.58 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1318, allocations: 8.062 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1319, allocations: 4 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1319, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.132, allocations: 23.86 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.132, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.132, allocations: 4 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.132, allocations: 4 kB / 486.7 MB, free: 14.34 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 9.087e-05/0.1321, allocations: 121.8 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1322, allocations: 15.81 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.1322, allocations: 16.72 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1322, allocations: 3.938 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1322, allocations: 0 / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1323, allocations: 3.984 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.1327, allocations: 391.3 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1327, allocations: 7.938 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.1327, allocations: 4.188 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1327, allocations: 4.031 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1328, allocations: 7.938 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1328, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.1328, allocations: 7.938 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.133, allocations: 196.3 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.1331, allocations: 88.94 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1331, allocations: 8.375 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1332, allocations: 4 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1332, allocations: 7.984 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1332, allocations: 8 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1333, allocations: 126.5 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1334, allocations: 0 / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1336, allocations: 51.98 kB / 487.8 MB, free: 13.18 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.002161/0.1358, allocations: 1.176 MB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.136, allocations: 63.91 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.136, allocations: 4.062 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.1361, allocations: 31.92 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1364, allocations: 26.83 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.138, allocations: 1.581 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1383, allocations: 0.6973 MB / 491.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.1384, allocations: 25.05 kB / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1385, allocations: 43.41 kB / 491.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1385, allocations: 3.938 kB / 491.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.3976, allocations: 3.94 MB / 495.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.624, allocations: 18.69 kB / 495.4 MB, free: 5.715 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)