Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, 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.001821/0.001821, 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.481/1.481, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2346/0.2346, allocations: 46.11 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.002271/0.002272, allocations: 76.62 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1366, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003632/0.1403, allocations: 1.649 MB / 481.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1414, allocations: 0.5611 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.1415, allocations: 0 / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.1419, allocations: 99.67 kB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1422, allocations: 111.6 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1426, allocations: 123.2 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1428, allocations: 95.8 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1429, allocations: 20.28 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.143, allocations: 55.77 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1431, allocations: 67.8 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1432, allocations: 4 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1433, allocations: 47.98 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.1433, allocations: 19.92 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.1434, allocations: 47.61 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1436, allocations: 127.5 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1436, allocations: 0 / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1436, allocations: 0 / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1437, allocations: 0 / 483.2 MB, free: 2.117 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005588/0.1442, allocations: 442.8 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1443, allocations: 12.03 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.1443, allocations: 34.75 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1444, allocations: 12.84 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1446, allocations: 208 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1446, allocations: 8.375 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1446, allocations: 4.375 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1448, allocations: 81.59 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1448, allocations: 0 / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1449, allocations: 11.94 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1449, allocations: 0 / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.145, allocations: 47.95 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.1455, allocations: 336.6 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1457, allocations: 74.48 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.1457, allocations: 28.83 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1458, allocations: 0 / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1458, allocations: 38.5 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1458, allocations: 0 / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.1469, allocations: 340.9 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.147, allocations: 55.34 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1473, allocations: 240.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1473, allocations: 29.64 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.1474, allocations: 112 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1474, allocations: 47.3 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.1475, allocations: 33.7 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1476, allocations: 322.8 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1477, allocations: 43.97 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1479, allocations: 52.09 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1481, allocations: 108.1 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1481, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002858/0.1484, allocations: 157.4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1484, allocations: 7.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1484, allocations: 4.641 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1484, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1486, allocations: 31.98 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1486, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1486, allocations: 4 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1486, allocations: 7.984 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001111/0.1488, allocations: 137.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.1488, allocations: 15.81 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.1492, allocations: 191 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1492, allocations: 4 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1492, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1492, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.1499, allocations: 0.5068 MB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1499, allocations: 0 / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.15, allocations: 27.92 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.1501, allocations: 3.984 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1501, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1501, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1501, allocations: 4.031 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1504, allocations: 253.8 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.1505, allocations: 88.92 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1505, allocations: 7.984 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1506, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1507, allocations: 19.92 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1507, allocations: 7.938 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1508, allocations: 181.2 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1508, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1511, allocations: 24 kB / 487.6 MB, free: 13.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.002285/0.1534, allocations: 1.131 MB / 488.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1537, allocations: 123.9 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1537, allocations: 0 / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1539, allocations: 59.91 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1543, allocations: 25.61 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.1566, allocations: 1.905 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.157, allocations: 0.7236 MB / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.791e-05/0.1571, allocations: 28.53 kB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.1572, allocations: 51.41 kB / 491.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1572, allocations: 3.938 kB / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.1822, allocations: 3.521 MB / 495.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.597, allocations: 13.05 kB / 495.1 MB, free: 5.961 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1)