Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, 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.001255/0.001255, 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.539/1.539, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2483/0.2483, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002213/0.002213, allocations: 77.06 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1212, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00316/0.1244, allocations: 1.72 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.126, allocations: 1.021 MB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.1261, allocations: 0 / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1264, allocations: 51.75 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.1267, allocations: 103.6 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1268, allocations: 71.67 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.127, allocations: 115.6 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.1271, allocations: 8 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.1272, allocations: 39.8 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1273, allocations: 31.78 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1274, allocations: 8 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1275, allocations: 43.98 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1275, allocations: 27.92 kB / 483.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.1276, allocations: 43.66 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1278, allocations: 119.9 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1278, allocations: 0 / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.1278, allocations: 0 / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1278, allocations: 3.938 kB / 483.6 MB, free: 1.715 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.0005642/0.1284, allocations: 434.8 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1284, allocations: 8.031 kB / 484.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.1285, allocations: 34.75 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1285, allocations: 12.84 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1288, allocations: 221.6 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1288, allocations: 4.375 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1288, allocations: 3.938 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.129, allocations: 57.61 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.129, allocations: 4 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.129, allocations: 0 / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.129, allocations: 4 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.1291, allocations: 19.98 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1294, allocations: 304.7 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1296, allocations: 58.62 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1297, allocations: 20.84 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1297, allocations: 8 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1299, allocations: 63.39 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1299, allocations: 0 / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000518/0.1304, allocations: 181.1 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.1305, allocations: 51.41 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1307, allocations: 238.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1308, allocations: 29.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.1308, allocations: 112.1 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.1309, allocations: 27.64 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.131, allocations: 21.72 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1311, allocations: 326.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.1312, allocations: 19.98 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.1313, allocations: 45.56 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1314, allocations: 61.72 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1314, allocations: 3.984 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.1316, allocations: 97.44 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1316, allocations: 8 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1316, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1316, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1317, allocations: 15.98 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1317, allocations: 4 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1318, allocations: 11.97 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1318, allocations: 4 kB / 486.1 MB, free: 15 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.0001162/0.1319, allocations: 136.9 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.132, allocations: 11.91 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.132, allocations: 17.39 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.132, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.132, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.132, allocations: 3.938 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.1325, allocations: 403.6 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1325, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.1326, allocations: 12 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.1326, allocations: 7.938 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1326, allocations: 4.188 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1326, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1326, allocations: 3.938 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1328, allocations: 200.3 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1329, allocations: 96.91 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.133, allocations: 7.875 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.133, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1331, allocations: 7.984 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1331, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1332, allocations: 176.4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1332, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1335, allocations: 31.98 kB / 487.2 MB, free: 13.79 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.002028/0.1355, allocations: 1.096 MB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1357, allocations: 59.97 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1357, allocations: 0 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.1358, allocations: 31.92 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1361, allocations: 33.78 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.138, allocations: 1.732 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1385, allocations: 0.7156 MB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.1385, allocations: 21.17 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.1386, allocations: 39.42 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1386, allocations: 0 / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.1726, allocations: 3.549 MB / 494.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.404, allocations: 7.922 kB / 494.5 MB, free: 6.613 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)