Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, 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.001793/0.001793, 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.496/1.496, 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.2406/0.2406, 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.00368/0.00368, allocations: 85.08 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1381, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003601/0.1417, allocations: 1.94 MB / 482.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1435, allocations: 1.06 MB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1437, allocations: 4 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.144, allocations: 43.7 kB / 483.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1443, allocations: 99.47 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1446, allocations: 95.66 kB / 483.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.1448, allocations: 147.5 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.145, allocations: 25.56 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1451, allocations: 55.72 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.1452, allocations: 51.7 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1452, allocations: 8 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1453, allocations: 51.92 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.1454, allocations: 19.92 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.1455, allocations: 51.66 kB / 483.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1457, allocations: 159.7 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1457, allocations: 7.938 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1457, allocations: 0 / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1458, allocations: 0 / 484 MB, free: 1.324 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006494/0.1464, allocations: 480.4 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1465, allocations: 8.031 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1465, allocations: 42.73 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.1466, allocations: 20.69 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1468, allocations: 225.6 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1468, allocations: 16.36 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1469, allocations: 7.938 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1471, allocations: 110.5 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1471, allocations: 4 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1472, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1472, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1473, allocations: 59.91 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.1479, allocations: 0.5009 MB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1483, allocations: 94.58 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1484, allocations: 40.83 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1484, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.1487, allocations: 83.38 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.349e-05/0.1487, allocations: 4 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004057/0.1491, allocations: 149.3 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1492, allocations: 55.41 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1494, allocations: 202.1 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1494, allocations: 25.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.1495, allocations: 120 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1495, allocations: 27.61 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1496, allocations: 33.7 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1498, allocations: 327.2 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.1499, allocations: 23.98 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.15, allocations: 67.52 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1502, allocations: 96.16 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1502, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002874/0.1505, allocations: 141.3 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1505, allocations: 4.125 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1505, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1506, allocations: 7.938 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1507, allocations: 23.92 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1507, allocations: 4 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.1508, allocations: 15.92 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1508, allocations: 7.938 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001131/0.1509, allocations: 128.4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1509, allocations: 15.81 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.151, allocations: 21.39 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.151, allocations: 7.938 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.151, allocations: 4 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.151, allocations: 0 / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1512, allocations: 213.5 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1512, allocations: 0 / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.1513, allocations: 15.98 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1513, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1513, allocations: 4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1514, allocations: 3.938 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1514, allocations: 4 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.1518, allocations: 184.9 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.1518, allocations: 88.95 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.1519, allocations: 4 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1519, allocations: 11.92 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.152, allocations: 8 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.152, allocations: 4.062 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1521, allocations: 148.4 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1521, allocations: 0 / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1524, allocations: 27.98 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002074/0.1545, allocations: 1.01 MB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.1548, allocations: 87.89 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1548, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1549, allocations: 40.05 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1552, allocations: 40.97 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1573, allocations: 1.733 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1576, allocations: 0.7278 MB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.028e-05/0.1577, allocations: 21.41 kB / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.1578, allocations: 43.42 kB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1578, allocations: 0 / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.1921, allocations: 3.749 MB / 495.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.282, allocations: 11.91 kB / 495.3 MB, free: 5.695 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)