Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, 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.001603/0.001603, 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.498/1.498, 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.2443/0.2443, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002186/0.002187, allocations: 80.77 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1249, allocations: 62.46 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003317/0.1283, allocations: 1.616 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1294, allocations: 0.5533 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.1295, allocations: 0 / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1297, allocations: 79.7 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.13, allocations: 99.64 kB / 482.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1304, allocations: 115 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1305, allocations: 79.81 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1306, allocations: 19.98 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.1307, allocations: 39.84 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1308, allocations: 55.81 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1308, allocations: 0 / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.1309, allocations: 47.98 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.131, allocations: 23.91 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.131, allocations: 31.75 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1312, allocations: 107.9 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1312, allocations: 3.938 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1312, allocations: 0 / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1313, allocations: 0 / 483.1 MB, free: 2.254 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.0004811/0.1317, allocations: 410.9 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1318, allocations: 8.031 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1318, allocations: 38.75 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.1319, allocations: 8.844 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1321, allocations: 204.8 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1321, allocations: 384 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1321, allocations: 4.375 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1323, allocations: 61.55 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1323, allocations: 3.906 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1323, allocations: 0 / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1323, allocations: 4 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1324, allocations: 27.97 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.1328, allocations: 308.8 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1329, allocations: 46.5 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.133, allocations: 20.88 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.133, allocations: 0 / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1331, allocations: 34.56 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1331, allocations: 4 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008804/0.134, allocations: 245.3 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.134, allocations: 51.41 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1342, allocations: 222.3 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1343, allocations: 25.7 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.1343, allocations: 112.1 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1344, allocations: 23.61 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.1344, allocations: 25.72 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1346, allocations: 322.8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.1347, allocations: 31.97 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1347, allocations: 31.92 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1349, allocations: 80.81 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1349, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002207/0.1352, allocations: 105.6 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1352, allocations: 8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1352, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1352, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1353, allocations: 19.92 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1353, allocations: 11.94 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.1354, allocations: 3.984 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1354, allocations: 4.312 kB / 485.5 MB, free: 15.56 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.0001044/0.1355, allocations: 125.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1355, allocations: 15.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.1359, allocations: 135 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1359, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1359, allocations: 3.938 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1359, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.1364, allocations: 427.3 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1365, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.1365, allocations: 23.86 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1365, allocations: 4.031 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1366, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1366, allocations: 3.984 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1366, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1368, allocations: 208.2 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1369, allocations: 88.95 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1369, allocations: 7.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.137, allocations: 11.98 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1371, allocations: 7.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1371, allocations: 7.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1372, allocations: 168.2 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1372, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1375, allocations: 16 kB / 486.8 MB, free: 14.21 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.002121/0.1396, allocations: 1.089 MB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1399, allocations: 87.81 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1399, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.14, allocations: 44.06 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1403, allocations: 22.31 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1422, allocations: 1.701 MB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1426, allocations: 0.708 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.1426, allocations: 16.66 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.1427, allocations: 35.42 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1427, allocations: 0 / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/0.1998, allocations: 3.088 MB / 493.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.333, allocations: 16.94 kB / 493.6 MB, free: 7.508 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1)