Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, 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.00137/0.00137, 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.495/1.495, 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.2416/0.2416, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.003001/0.003001, allocations: 76.66 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1438, allocations: 62.45 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003162/0.147, allocations: 1.6 MB / 481.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1481, allocations: 0.5571 MB / 482.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.1482, allocations: 4 kB / 482.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1484, allocations: 31.8 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1487, allocations: 79.67 kB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.149, allocations: 110.7 kB / 482.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1492, allocations: 67.83 kB / 482.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.1493, allocations: 12 kB / 482.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.1493, allocations: 35.84 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.1494, allocations: 31.84 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1494, allocations: 4 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.1496, allocations: 95.88 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1497, allocations: 11.94 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.1497, allocations: 31.78 kB / 482.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.15, allocations: 143.9 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.15, allocations: 3.938 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.15, allocations: 0 / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1501, allocations: 0 / 483 MB, free: 2.352 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005017/0.1506, allocations: 411.1 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1506, allocations: 12.03 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1507, allocations: 34.73 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.1507, allocations: 8.844 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1509, allocations: 192.2 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1509, allocations: 4.375 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.151, allocations: 384 / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1511, allocations: 67.28 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1511, allocations: 7.984 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1512, allocations: 4 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1512, allocations: 0 / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.1513, allocations: 19.98 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.1517, allocations: 292.9 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1518, allocations: 54.5 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.1519, allocations: 24.94 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1519, allocations: 0 / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.152, allocations: 34.56 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.152, allocations: 0 / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000622/0.1526, allocations: 189.2 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1527, allocations: 81.11 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1528, allocations: 152.2 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1529, allocations: 29.7 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1529, allocations: 92.14 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.153, allocations: 23.64 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.153, allocations: 25.72 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1532, allocations: 322.8 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.1532, allocations: 27.98 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.226e-05/0.1533, allocations: 45.69 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.1535, allocations: 72.75 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1536, allocations: 0 / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002335/0.1538, allocations: 113.6 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1538, allocations: 4 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1538, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1538, allocations: 3.984 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.154, allocations: 16 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.154, allocations: 320 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.154, allocations: 15.92 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.154, allocations: 3.938 kB / 485.3 MB, free: 15.77 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 9.061e-05/0.1541, allocations: 121.8 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1542, allocations: 11.84 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.1545, allocations: 118.3 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1545, allocations: 4 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1545, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1545, allocations: 3.938 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.155, allocations: 402.4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.155, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.1551, allocations: 15.98 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1551, allocations: 3.938 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1551, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1551, allocations: 3.938 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1551, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1554, allocations: 199.4 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1555, allocations: 85.02 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1555, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.1556, allocations: 11.98 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.1556, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1556, allocations: 4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1557, allocations: 117.3 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1558, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.156, allocations: 39.98 kB / 486.5 MB, free: 14.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002112/0.1582, allocations: 1.123 MB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.1584, allocations: 87.88 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1584, allocations: 0 / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.1585, allocations: 31.97 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1589, allocations: 22 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1607, allocations: 1.531 MB / 489.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.161, allocations: 0.6924 MB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.1611, allocations: 25.09 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.1612, allocations: 35.42 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1612, allocations: 0 / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04934/0.2105, allocations: 3.417 MB / 493.4 MB, free: 7.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/8.605, allocations: 3 kB / 493.4 MB, free: 7.699 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1)