Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 104.5 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.001399/0.001399, 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.491/1.491, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2389/0.2389, allocations: 46.13 MB / 344.2 MB, free: 11.55 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.002269/0.002269, allocations: 82.48 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1299, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003844/0.1338, allocations: 1.608 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1349, allocations: 0.5494 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.1349, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1353, allocations: 111.7 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.1356, allocations: 119.6 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.136, allocations: 114.8 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1362, allocations: 83.88 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1363, allocations: 19.97 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.1364, allocations: 43.83 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1365, allocations: 71.75 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1365, allocations: 4 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1367, allocations: 47.98 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.1367, allocations: 27.91 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.1368, allocations: 39.67 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.137, allocations: 115.9 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.137, allocations: 0 / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.137, allocations: 0 / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.137, allocations: 0 / 483.2 MB, free: 2.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006171/0.1377, allocations: 422.8 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1377, allocations: 15.97 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.1378, allocations: 34.75 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1378, allocations: 8.844 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1381, allocations: 217.6 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1381, allocations: 384 / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1381, allocations: 4.375 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1383, allocations: 57.61 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1383, allocations: 0 / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1383, allocations: 0 / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1383, allocations: 0 / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1384, allocations: 31.86 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.1389, allocations: 312.7 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.139, allocations: 46.55 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.1391, allocations: 20.8 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1391, allocations: 4.094 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1392, allocations: 42.48 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1392, allocations: 0 / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009602/0.1401, allocations: 241 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1402, allocations: 55.41 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1405, allocations: 258.1 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1405, allocations: 29.7 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1406, allocations: 104.1 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1406, allocations: 35.55 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1407, allocations: 21.72 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1409, allocations: 326.9 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.1409, allocations: 31.97 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.141, allocations: 31.98 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1412, allocations: 76.81 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1412, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002484/0.1415, allocations: 121.3 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1415, allocations: 4 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1415, allocations: 320 / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1416, allocations: 0 / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1417, allocations: 23.98 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1417, allocations: 3.938 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1417, allocations: 7.984 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1418, allocations: 7.984 kB / 485.7 MB, free: 15.39 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 (8): * Single equations (assignments): 8 * 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.0001179/0.1419, allocations: 133.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1419, allocations: 15.75 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.1422, allocations: 131 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1423, allocations: 8.422 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1423, allocations: 7.875 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1423, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.1429, allocations: 419.3 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1429, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.143, allocations: 23.91 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.143, allocations: 8.031 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.143, allocations: 4 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.143, allocations: 3.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.143, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1433, allocations: 216.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.1434, allocations: 92.95 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1434, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.1435, allocations: 7.984 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.1435, allocations: 4 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1435, allocations: 7.938 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1437, allocations: 188.4 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1437, allocations: 0 / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.144, allocations: 27.98 kB / 487 MB, free: 14 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 (8): * Single equations (assignments): 8 * 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.002137/0.1461, allocations: 1.101 MB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1464, allocations: 87.8 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1464, allocations: 0 / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.1465, allocations: 39.92 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1469, allocations: 23.55 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.149, allocations: 1.773 MB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1493, allocations: 0.7195 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.389e-05/0.1494, allocations: 16.66 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.1495, allocations: 35.42 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1495, allocations: 0 / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.1912, allocations: 3.268 MB / 494 MB, free: 7.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.337, allocations: 9.016 kB / 494 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1)