Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008221/0.0008224, allocations: 96.59 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.001259/0.001259, allocations: 194.5 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.474/1.474, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 45.92 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002653, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002021/0.1429, allocations: 1.291 MB / 482.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.1438, allocations: 491.2 kB / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.1438, allocations: 0 / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1441, allocations: 19.92 kB / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1443, allocations: 63.77 kB / 483.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1445, allocations: 71.84 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1446, allocations: 55.83 kB / 483.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.1447, allocations: 15.94 kB / 483.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.1448, allocations: 19.86 kB / 483.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.1449, allocations: 23.91 kB / 483.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1449, allocations: 0 / 483.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.1449, allocations: 27.94 kB / 483.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.145, allocations: 7.984 kB / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.145, allocations: 33.64 kB / 483.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1451, allocations: 56.2 kB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1452, allocations: 0 / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1452, allocations: 0 / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1452, allocations: 8 kB / 483.8 MB, free: 3.07 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.0004572/0.1456, allocations: 375 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1457, allocations: 12.03 kB / 484.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1457, allocations: 30.56 kB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1458, allocations: 7.906 kB / 484.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.146, allocations: 190.8 kB / 484.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.146, allocations: 4 kB / 484.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.146, allocations: 4 kB / 484.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1462, allocations: 49.69 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1462, allocations: 3.984 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1462, allocations: 0 / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1462, allocations: 0 / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.1463, allocations: 27.97 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1467, allocations: 284.8 kB / 484.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1469, allocations: 46.55 kB / 484.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.1469, allocations: 12.86 kB / 484.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.147, allocations: 4 kB / 484.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.147, allocations: 30.56 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.147, allocations: 4 kB / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000598/0.1476, allocations: 153.4 kB / 485 MB, free: 1.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1477, allocations: 63.36 kB / 485.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1479, allocations: 152.8 kB / 485.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1479, allocations: 29.7 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.148, allocations: 96.12 kB / 485.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.148, allocations: 11.8 kB / 485.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.148, allocations: 4 kB / 485.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1481, allocations: 318.8 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.1482, allocations: 27.98 kB / 485.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.1483, allocations: 23.92 kB / 485.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.1484, allocations: 27.92 kB / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1484, allocations: 0 / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/0.1485, allocations: 85.58 kB / 485.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1486, allocations: 11.94 kB / 485.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1486, allocations: 0 / 485.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1486, allocations: 3.953 kB / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.1487, allocations: 19.98 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1487, allocations: 0 / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.1487, allocations: 11.94 kB / 485.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1487, allocations: 4 kB / 485.9 MB, free: 0.7539 MB / 350.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 (5): * Single equations (assignments): 5 * 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 8.381e-05/0.1488, allocations: 113.8 kB / 486 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.1489, allocations: 15.83 kB / 486 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.1491, allocations: 93.97 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1491, allocations: 0 / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.1491, allocations: 7.953 kB / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1491, allocations: 0 / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.1495, allocations: 346.5 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1495, allocations: 384 / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.1496, allocations: 19.98 kB / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1496, allocations: 0 / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1496, allocations: 11.95 kB / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1496, allocations: 0 / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1496, allocations: 0 / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1498, allocations: 187.4 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1499, allocations: 85.02 kB / 486.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1499, allocations: 4 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.15, allocations: 11.94 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.15, allocations: 3.938 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1501, allocations: 4 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.03e-05/0.1501, allocations: 117.7 kB / 486.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1502, allocations: 4 kB / 486.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1504, allocations: 20 kB / 486.9 MB, free: 15.63 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 (5): * Single equations (assignments): 5 * 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.001296/0.1517, allocations: 1.009 MB / 487.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1519, allocations: 51.91 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1519, allocations: 4 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.152, allocations: 27.98 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1523, allocations: 23.88 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.1533, allocations: 0.5669 MB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1536, allocations: 0.6965 MB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.984e-05/0.1537, allocations: 11.98 kB / 489.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.1537, allocations: 27.42 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1537, allocations: 0 / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.1664, allocations: 2.124 MB / 491.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.1666, allocations: 221.7 kB / 491.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.039, allocations: 0 / 491.7 MB, free: 10.99 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat