Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_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.001415/0.001415, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002299/0.002299, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.91 MB / 344.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 11.98 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.00192/0.134, allocations: 1.307 MB / 482.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.1348, allocations: 0.4914 MB / 483.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.1349, allocations: 0 / 483.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1352, allocations: 111.7 kB / 483.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1354, allocations: 95.77 kB / 483.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1357, allocations: 103.1 kB / 483.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1358, allocations: 75.81 kB / 483.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.1359, allocations: 7.984 kB / 483.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.136, allocations: 43.83 kB / 483.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1361, allocations: 55.81 kB / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1361, allocations: 0 / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.1362, allocations: 39.92 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.1362, allocations: 23.92 kB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.1363, allocations: 37.64 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1364, allocations: 88.14 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1364, allocations: 0 / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1364, allocations: 0 / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1364, allocations: 3.938 kB / 484.1 MB, free: 2.738 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.000428/0.1369, allocations: 410.8 kB / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1369, allocations: 12.03 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.137, allocations: 34.56 kB / 484.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.137, allocations: 15.81 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1372, allocations: 204.5 kB / 484.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.1372, allocations: 4 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1372, allocations: 7.984 kB / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1374, allocations: 53.69 kB / 484.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1374, allocations: 3.906 kB / 484.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1374, allocations: 0 / 484.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1374, allocations: 0 / 484.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.1375, allocations: 35.91 kB / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1379, allocations: 312.8 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.362e-05/0.138, allocations: 54.48 kB / 485.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.1381, allocations: 24.94 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1381, allocations: 0 / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1381, allocations: 30.56 kB / 485.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1381, allocations: 4 kB / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008949/0.139, allocations: 284.9 kB / 485.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1391, allocations: 55.41 kB / 485.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1393, allocations: 254.1 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1393, allocations: 29.7 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.1394, allocations: 112 kB / 486 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1394, allocations: 23.66 kB / 486 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1395, allocations: 0 / 486 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1396, allocations: 326.8 kB / 486.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.1397, allocations: 39.97 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.1397, allocations: 27.98 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.186e-05/0.1398, allocations: 43.97 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1398, allocations: 0 / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.1401, allocations: 125.5 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1401, allocations: 8 kB / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1401, allocations: 0 / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1401, allocations: 3.953 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1402, allocations: 19.98 kB / 486.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1403, allocations: 112 / 486.6 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.1403, allocations: 15.94 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1403, allocations: 4 kB / 486.6 MB, free: 15.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.1405, allocations: 129.8 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.1405, allocations: 19.75 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.1408, allocations: 139 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1408, allocations: 3.953 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1408, allocations: 0 / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1408, allocations: 0 / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.1415, allocations: 439.2 kB / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1415, allocations: 0 / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.1415, allocations: 23.94 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1416, allocations: 0 / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1416, allocations: 0 / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1416, allocations: 7.938 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1416, allocations: 0 / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1419, allocations: 220.8 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1419, allocations: 92.92 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.142, allocations: 3.953 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1421, allocations: 7.984 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.1421, allocations: 15.92 kB / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1421, allocations: 8 kB / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1423, allocations: 192.4 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1423, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1426, allocations: 24 kB / 487.9 MB, free: 14.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.144, allocations: 1.105 MB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1443, allocations: 83.89 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1443, allocations: 0 / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.1444, allocations: 44.05 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1447, allocations: 16.17 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1461, allocations: 0.8784 MB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1464, allocations: 0.72 MB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.1465, allocations: 16.95 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.1465, allocations: 39.42 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1466, allocations: 0 / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1601, allocations: 2.873 MB / 493.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.1603, allocations: 226.3 kB / 493.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.971, allocations: 4 kB / 493.9 MB, free: 8.719 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat does not exist to compare? outputFormat=mat