Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 104.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.002161/0.002161, 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.537/1.537, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2409/0.2409, allocations: 46.1 MB / 344.2 MB, free: 11.53 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.002248/0.002248, allocations: 80.94 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1254, allocations: 62.46 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00378/0.1292, allocations: 1.724 MB / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1316, allocations: 1.021 MB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.1317, allocations: 0 / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.132, allocations: 43.77 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1323, allocations: 99.59 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1326, allocations: 71.67 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1327, allocations: 107.7 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.1329, allocations: 11.98 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.133, allocations: 47.72 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.1331, allocations: 31.78 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1331, allocations: 4 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1332, allocations: 47.98 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1333, allocations: 19.92 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.1333, allocations: 35.75 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1336, allocations: 115.9 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1336, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1336, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1336, allocations: 0 / 483.6 MB, free: 1.703 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.0005495/0.1342, allocations: 418.9 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1342, allocations: 12.03 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.1342, allocations: 38.73 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1343, allocations: 12.84 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1345, allocations: 204.8 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1345, allocations: 8.312 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1346, allocations: 3.938 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1347, allocations: 53.67 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1347, allocations: 7.844 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1348, allocations: 3.938 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1348, allocations: 4 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.1348, allocations: 19.98 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.1353, allocations: 288.9 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1355, allocations: 58.67 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.1355, allocations: 20.8 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1355, allocations: 0 / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1358, allocations: 75.38 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1358, allocations: 0 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.1364, allocations: 177.2 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1364, allocations: 51.41 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1366, allocations: 206.2 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1367, allocations: 25.7 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.1368, allocations: 104.1 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1368, allocations: 23.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1368, allocations: 21.72 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.137, allocations: 326.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.1371, allocations: 15.98 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.1372, allocations: 37.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1373, allocations: 69.7 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1373, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.1375, allocations: 109.4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1375, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1376, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1376, allocations: 4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1377, allocations: 15.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1377, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.1377, allocations: 7.938 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.1378, allocations: 4.031 kB / 486 MB, free: 15.07 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.0001174/0.1379, allocations: 129.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1379, allocations: 7.906 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.138, allocations: 13.41 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.138, allocations: 11.88 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.138, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.138, allocations: 7.922 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.1385, allocations: 395.5 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1385, allocations: 3.938 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.1386, allocations: 11.94 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1386, allocations: 3.938 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1386, allocations: 3.984 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1386, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1386, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1389, allocations: 204.3 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.1389, allocations: 88.92 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.139, allocations: 7.938 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.139, allocations: 4.375 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1391, allocations: 11.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1391, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1393, allocations: 148.2 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1393, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1395, allocations: 20 kB / 487 MB, free: 13.91 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.002137/0.1417, allocations: 1.096 MB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1419, allocations: 71.89 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1419, allocations: 0 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.142, allocations: 27.94 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1423, allocations: 31.22 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1445, allocations: 1.644 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1449, allocations: 0.708 MB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.711e-05/0.1449, allocations: 21.17 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.145, allocations: 35.42 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.145, allocations: 0 / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1704, allocations: 3.386 MB / 494 MB, free: 6.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.352, allocations: 11.88 kB / 494.1 MB, free: 6.988 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)