Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, 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.002044/0.002044, 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.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2101/0.2101, allocations: 46.1 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.002191/0.002192, allocations: 81.62 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1151, allocations: 62.46 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004495/0.1197, allocations: 1.72 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.1221, allocations: 1.029 MB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1223, allocations: 0 / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.1227, allocations: 51.75 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.1232, allocations: 103.5 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1235, allocations: 75.73 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1237, allocations: 107.6 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1238, allocations: 8 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1239, allocations: 47.78 kB / 483.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1241, allocations: 31.78 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1241, allocations: 4 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1243, allocations: 51.97 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.1244, allocations: 23.92 kB / 483.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.1244, allocations: 39.69 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1247, allocations: 135.8 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1247, allocations: 3.938 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1248, allocations: 0 / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1248, allocations: 0 / 483.6 MB, free: 1.719 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.0007042/0.1255, allocations: 450.7 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1255, allocations: 8.031 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1256, allocations: 38.75 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.1257, allocations: 16.75 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.126, allocations: 216.9 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.126, allocations: 4.375 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.126, allocations: 11.94 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1262, allocations: 53.61 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1263, allocations: 0 / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1263, allocations: 7.984 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1263, allocations: 0 / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1265, allocations: 23.98 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.1269, allocations: 300.9 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1272, allocations: 54.61 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.1273, allocations: 24.86 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1273, allocations: 3.938 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1276, allocations: 67.38 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1276, allocations: 0 / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006892/0.1283, allocations: 185 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1283, allocations: 51.41 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.1287, allocations: 279 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1288, allocations: 25.7 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1289, allocations: 116.1 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.1289, allocations: 23.66 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.129, allocations: 25.7 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1292, allocations: 326.8 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.1293, allocations: 19.98 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.1294, allocations: 41.64 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1295, allocations: 61.62 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1295, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002569/0.1298, allocations: 105.4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1298, allocations: 8 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1299, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1299, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.13, allocations: 15.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.13, allocations: 4 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.1301, allocations: 7.938 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1301, allocations: 8.031 kB / 486.2 MB, free: 14.94 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.0001563/0.1303, allocations: 140.7 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.1303, allocations: 12.19 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.1304, allocations: 21.58 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1304, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1304, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1305, allocations: 7.938 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.1311, allocations: 411.2 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1311, allocations: 0 / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.543e-05/0.1312, allocations: 8 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1312, allocations: 3.938 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1312, allocations: 7.984 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1312, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1312, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.1316, allocations: 216.3 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.1317, allocations: 85.02 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1317, allocations: 3.938 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1318, allocations: 8 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1319, allocations: 7.984 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1319, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002752/0.1322, allocations: 208.4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1322, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.1326, allocations: 24 kB / 487.3 MB, free: 13.69 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.002679/0.1353, allocations: 1.109 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1356, allocations: 51.98 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1356, allocations: 0 / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.991e-05/0.1357, allocations: 31.92 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.1362, allocations: 37.59 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1389, allocations: 1.819 MB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1394, allocations: 0.7313 MB / 491.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.899e-05/0.1394, allocations: 13.19 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.1395, allocations: 47.41 kB / 491.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1395, allocations: 0 / 491.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.2131, allocations: 3.708 MB / 494.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.407, allocations: 21.67 kB / 494.9 MB, free: 6.23 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)