Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 102.8 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.001302/0.001302, 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.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2654/0.2654, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002224/0.002224, allocations: 81.3 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1149, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00361/0.1185, allocations: 1.731 MB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1205, allocations: 1.017 MB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.1206, allocations: 0 / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1209, allocations: 43.77 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1213, allocations: 99.53 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1215, allocations: 79.67 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.1217, allocations: 103.7 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1218, allocations: 12 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.194e-05/0.1219, allocations: 39.8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.122, allocations: 31.8 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.122, allocations: 4 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1221, allocations: 51.97 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.1222, allocations: 15.92 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.1223, allocations: 43.67 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1225, allocations: 115.9 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1225, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1225, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1225, allocations: 0 / 483.6 MB, free: 1.75 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.0006071/0.1231, allocations: 418.9 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1232, allocations: 8.031 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.1232, allocations: 30.75 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1233, allocations: 16.84 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1235, allocations: 208.8 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1236, allocations: 4.312 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1236, allocations: 3.938 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1237, allocations: 61.61 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1238, allocations: 3.906 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1238, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1238, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.1239, allocations: 19.98 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1243, allocations: 292.9 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1245, allocations: 58.56 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.1245, allocations: 20.84 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1246, allocations: 0 / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.1248, allocations: 71.39 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1248, allocations: 0 / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005604/0.1254, allocations: 189.4 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1254, allocations: 51.41 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1257, allocations: 202.3 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1257, allocations: 29.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.1258, allocations: 104.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1258, allocations: 23.72 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1259, allocations: 21.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.126, allocations: 326.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.1261, allocations: 19.94 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.1262, allocations: 33.7 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1263, allocations: 65.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1263, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.1265, allocations: 101.3 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1265, allocations: 11.98 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1265, allocations: 3.984 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1266, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.1267, allocations: 12 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1267, allocations: 4 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1268, allocations: 11.92 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1268, allocations: 4 kB / 486 MB, free: 15.12 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.0001155/0.1269, allocations: 129.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.127, allocations: 7.906 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.127, allocations: 21.39 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.127, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1271, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1271, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.1276, allocations: 395.2 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1276, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.1276, allocations: 11.98 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1276, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1277, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1277, allocations: 192 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1277, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1279, allocations: 212.2 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.128, allocations: 92.91 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.128, allocations: 7.938 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.1281, allocations: 4 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1282, allocations: 4 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1282, allocations: 7.984 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1283, allocations: 144.2 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1286, allocations: 23.98 kB / 487 MB, free: 13.96 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.002219/0.1308, allocations: 1.098 MB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.131, allocations: 71.89 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1311, allocations: 0 / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.1311, allocations: 27.98 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1315, allocations: 32.98 kB / 488.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1337, allocations: 1.64 MB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.1342, allocations: 0.708 MB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.1343, allocations: 17.17 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1344, allocations: 39.42 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.455e-06/0.1344, allocations: 0 / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.1783, allocations: 3.393 MB / 494.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.426, allocations: 3.938 kB / 494.1 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)