Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 103.7 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.0012/0.0012, allocations: 212.6 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.501/1.501, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2569/0.2569, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002364/0.002364, allocations: 86.89 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.13, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003425/0.1335, allocations: 1.731 MB / 482 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1353, allocations: 1.017 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1354, allocations: 4 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1357, allocations: 51.75 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.1361, allocations: 99.55 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1364, allocations: 79.66 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1366, allocations: 99.7 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1367, allocations: 15.98 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1368, allocations: 43.78 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.1369, allocations: 31.8 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.137, allocations: 4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1371, allocations: 47.97 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.1371, allocations: 23.86 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1372, allocations: 43.67 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1375, allocations: 119.9 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1375, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1375, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1375, allocations: 8 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.000604/0.1381, allocations: 426.8 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1381, allocations: 8.031 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.1382, allocations: 42.67 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1383, allocations: 8.844 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1385, allocations: 225.5 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1385, allocations: 4.375 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1386, allocations: 3.938 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1387, allocations: 57.67 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1388, allocations: 4 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1388, allocations: 0 / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1388, allocations: 0 / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.1389, allocations: 19.98 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.1393, allocations: 296.7 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1395, allocations: 62.61 kB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.1395, allocations: 28.83 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1396, allocations: 0 / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.1398, allocations: 67.38 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1398, allocations: 0 / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005509/0.1403, allocations: 177.1 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1404, allocations: 55.41 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1407, allocations: 242.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1407, allocations: 25.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.1408, allocations: 108.1 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1408, allocations: 23.66 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1409, allocations: 29.64 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.141, allocations: 322.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.1411, allocations: 31.92 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.1412, allocations: 34.08 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1413, allocations: 57.72 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1413, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1415, allocations: 113.4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1415, allocations: 4 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1415, allocations: 0 / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1415, allocations: 4.031 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.1416, allocations: 19.98 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1416, allocations: 3.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1417, allocations: 7.938 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1417, 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.0001149/0.1418, allocations: 130 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1419, allocations: 11.91 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1419, allocations: 17.34 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1419, allocations: 8 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1419, allocations: 0 / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.142, allocations: 7.922 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1424, allocations: 395.2 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1425, allocations: 4 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.1425, allocations: 11.98 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1425, allocations: 3.938 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1425, allocations: 4 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1425, allocations: 4.031 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1425, allocations: 4 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1428, allocations: 200.5 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.1429, allocations: 88.92 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1429, allocations: 11.92 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.143, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.143, allocations: 8 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.143, allocations: 3.984 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1432, allocations: 176.4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1435, allocations: 27.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.00207/0.1456, allocations: 1.087 MB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1457, allocations: 63.89 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1458, allocations: 4.062 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1458, allocations: 28 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1462, allocations: 37.97 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.002009/0.1482, allocations: 1.728 MB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1486, allocations: 0.7195 MB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.014e-05/0.1486, allocations: 17.19 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.1487, allocations: 43.41 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1487, allocations: 0 / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/0.2191, allocations: 3.543 MB / 494.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.501, allocations: 10.45 kB / 494.5 MB, free: 6.621 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)