Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 103.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.001461/0.001461, 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.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2254/0.2254, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002245/0.002245, allocations: 79.78 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1161, allocations: 62.46 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003422/0.1195, allocations: 1.723 MB / 481.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1215, allocations: 1.025 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.1216, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.1218, allocations: 47.77 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1221, allocations: 95.59 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1224, allocations: 75.67 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1226, allocations: 103.7 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.1227, allocations: 15.94 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.1228, allocations: 43.78 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.1228, allocations: 27.8 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1229, allocations: 11.98 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.123, allocations: 43.98 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.1231, allocations: 19.92 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.1231, allocations: 35.75 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1234, allocations: 119.9 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1234, allocations: 3.938 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1234, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1234, allocations: 0 / 483.6 MB, free: 1.723 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.0006305/0.124, allocations: 430.8 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1241, allocations: 12.03 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1241, allocations: 38.75 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.1242, allocations: 12.75 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1245, allocations: 208.1 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1245, allocations: 384 / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1245, allocations: 11.94 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1247, allocations: 49.67 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1247, allocations: 3.938 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1247, allocations: 4 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1247, allocations: 4 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.1248, allocations: 19.98 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1252, allocations: 284.9 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1254, allocations: 58.67 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.1254, allocations: 24.78 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1254, allocations: 7.984 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1257, allocations: 75.38 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1257, allocations: 0 / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005604/0.1263, allocations: 181 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1263, allocations: 51.41 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1266, allocations: 206.3 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1266, allocations: 29.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.1267, allocations: 104.1 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1268, allocations: 23.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.1268, allocations: 29.66 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.127, allocations: 322.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.127, allocations: 23.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.1271, allocations: 33.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1272, allocations: 61.66 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1272, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002212/0.1275, allocations: 109.4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1275, allocations: 8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1275, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1275, allocations: 192 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.1276, allocations: 15.98 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1276, allocations: 7.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1277, allocations: 11.91 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1277, allocations: 8 kB / 486 MB, free: 15.05 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.000117/0.1278, allocations: 121.8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1279, allocations: 11.91 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1279, allocations: 17.34 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1279, allocations: 4 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1279, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.128, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.1285, allocations: 407.2 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1285, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1285, allocations: 8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1286, allocations: 3.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1286, allocations: 7.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1286, allocations: 384 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1286, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1288, allocations: 200.3 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1289, allocations: 88.92 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.129, allocations: 7.938 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.129, allocations: 4 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1291, allocations: 15.92 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1291, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.1293, allocations: 156.8 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1293, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1296, allocations: 27.98 kB / 487.1 MB, free: 13.88 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.002204/0.1318, allocations: 1.092 MB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.132, allocations: 63.89 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.132, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.1321, allocations: 35.92 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1324, allocations: 22.05 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1344, allocations: 1.69 MB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1348, allocations: 0.7041 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.1349, allocations: 20.84 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.135, allocations: 35.42 kB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.135, allocations: 0 / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.1618, allocations: 3.437 MB / 494.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.329, allocations: 15.84 kB / 494.2 MB, free: 6.871 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)