Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, 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.001229/0.001229, 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.51/1.51, 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.2577/0.2577, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002501/0.002501, allocations: 86.66 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1314, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00381/0.1353, allocations: 1.689 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.137, allocations: 1.005 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.1371, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1374, allocations: 63.72 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.1377, allocations: 107.6 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.1379, allocations: 71.69 kB / 483.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1381, allocations: 107.7 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.1381, allocations: 4.234 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.1382, allocations: 51.77 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1383, allocations: 43.84 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1384, allocations: 0 / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.1385, allocations: 43.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.1385, allocations: 15.92 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.1386, allocations: 35.73 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1389, allocations: 103.9 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1389, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1389, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1389, allocations: 0 / 483.5 MB, free: 1.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005677/0.1395, allocations: 406.9 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1395, allocations: 12.03 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.1396, allocations: 34.69 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1396, allocations: 8.844 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1399, allocations: 212.7 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1399, allocations: 4.375 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1399, allocations: 11.94 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1401, allocations: 45.67 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1401, allocations: 0 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1401, allocations: 0 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1401, allocations: 4 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.688e-05/0.1402, allocations: 15.98 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.1404, allocations: 181.7 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1406, allocations: 66.48 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.1407, allocations: 16.86 kB / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1407, allocations: 7.922 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1409, allocations: 71.3 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1409, allocations: 0 / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002755/0.1412, allocations: 97.5 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1413, allocations: 55.41 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1415, allocations: 194.4 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1415, allocations: 25.7 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.1416, allocations: 104.1 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1416, allocations: 11.81 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.1417, allocations: 17.72 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1418, allocations: 326.8 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.1419, allocations: 15.98 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.1419, allocations: 25.72 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.142, allocations: 49.64 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1421, allocations: 3.938 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002021/0.1423, allocations: 73.59 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1423, allocations: 16.02 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1423, allocations: 3.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1423, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.1424, allocations: 8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1424, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.1425, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1425, allocations: 4.312 kB / 485.6 MB, free: 15.44 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 (7): * Single equations (assignments): 7 * 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.0001091/0.1426, allocations: 133.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1426, allocations: 11.81 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.1427, allocations: 20.98 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/0.1427, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1428, allocations: 4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1428, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.143, allocations: 189.5 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.143, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.143, allocations: 7.984 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1431, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1431, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1431, allocations: 3.938 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1431, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1433, allocations: 113 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1434, allocations: 85.02 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1434, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.1435, allocations: 4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1435, allocations: 3.984 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1435, allocations: 4 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1437, allocations: 152.2 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1437, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1439, allocations: 23.91 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001883/0.1458, allocations: 0.944 MB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.146, allocations: 43.92 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.146, allocations: 0 / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.1461, allocations: 23.98 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1463, allocations: 28.34 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.1483, allocations: 1.506 MB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.1487, allocations: 0.6971 MB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.1488, allocations: 16.53 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.1489, allocations: 35.42 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1489, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1743, allocations: 3.087 MB / 492.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.386, allocations: 11.89 kB / 492.8 MB, free: 8.289 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)