Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 112 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5376/0.5376, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004705, allocations: 8 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002491/0.1392, allocations: 1.255 MB / 491.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.1401, allocations: 283.8 kB / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.1401, allocations: 0 / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1405, allocations: 87.69 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1407, allocations: 63.91 kB / 492 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.141, allocations: 67.8 kB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1412, allocations: 43.88 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1413, allocations: 11.98 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1414, allocations: 27.89 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1415, allocations: 39.91 kB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1416, allocations: 4 kB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.1417, allocations: 12 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.1417, allocations: 23.91 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.1418, allocations: 37.64 kB / 492.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.142, allocations: 68.11 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.142, allocations: 0 / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.142, allocations: 0 / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.142, allocations: 0 / 492.3 MB, free: 9.117 MB / 378.7 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.0005935/0.1426, allocations: 402.8 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1427, allocations: 8.031 kB / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1428, allocations: 34.56 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1428, allocations: 11.86 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1431, allocations: 199.5 kB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.1431, allocations: 0 / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1431, allocations: 0 / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1433, allocations: 45.69 kB / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1434, allocations: 3.984 kB / 493 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1434, allocations: 8 kB / 493 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1434, allocations: 7.953 kB / 493 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1436, allocations: 27.92 kB / 493.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.144, allocations: 276.9 kB / 493.3 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1443, allocations: 50.56 kB / 493.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1444, allocations: 0 / 493.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1444, allocations: 34.56 kB / 493.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.028e-06/0.1444, allocations: 0 / 493.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008637/0.1453, allocations: 165.2 kB / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1454, allocations: 51.41 kB / 493.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.1457, allocations: 226.3 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1457, allocations: 25.7 kB / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.1458, allocations: 170.5 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1459, allocations: 19.66 kB / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.1459, allocations: 0 / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1461, allocations: 322.8 kB / 494.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1462, allocations: 15.98 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1463, allocations: 23.98 kB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1465, allocations: 27.92 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1465, allocations: 4 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003218/0.1468, allocations: 77.92 kB / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.1469, allocations: 15.39 kB / 494.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1469, allocations: 4 kB / 494.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1469, allocations: 4 kB / 494.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1471, allocations: 15.98 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1471, allocations: 3.938 kB / 494.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.1472, allocations: 4 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1472, allocations: 4 kB / 494.6 MB, free: 6.656 MB / 378.7 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 0.0001381/0.1473, allocations: 125.8 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1474, allocations: 15.91 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.1478, allocations: 102.6 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.1478, allocations: 0 / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1478, allocations: 0 / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1478, allocations: 0 / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.1485, allocations: 370.4 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1486, allocations: 0 / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1487, allocations: 19.94 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1487, allocations: 0 / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1487, allocations: 8 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1487, allocations: 0 / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1488, allocations: 4 kB / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1492, allocations: 183.4 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.1492, allocations: 89 kB / 495.5 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1493, allocations: 4.141 kB / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1494, allocations: 12 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.1495, allocations: 7.984 kB / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1495, allocations: 0 / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.1497, allocations: 179.2 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1497, allocations: 0 / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.1501, allocations: 16 kB / 495.7 MB, free: 5.426 MB / 378.7 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.00185/0.152, allocations: 1.011 MB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1524, allocations: 55.97 kB / 496.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1524, allocations: 0 / 496.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1525, allocations: 27.98 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1529, allocations: 19.94 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1548, allocations: 0.7577 MB / 497.5 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1552, allocations: 0.7118 MB / 498.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.1553, allocations: 27.42 kB / 498.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1553, allocations: 0 / 498.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.725/2.881, allocations: 2.073 MB / 0.4886 GB, free: 0.6914 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat