Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",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.002542/0.002542, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 95.98 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2961/0.2961, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.679e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4813, allocations: 58.86 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.7095, allocations: 85.68 MB / 0.5497 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.7099, allocations: 67.97 kB / 0.5497 GB, free: 13.53 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.024/0.734, allocations: 4.188 MB / 0.5538 GB, free: 9.348 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.734, allocations: 0 / 0.5538 GB, free: 9.348 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.7341, allocations: 4 kB / 0.5538 GB, free: 9.344 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006725/0.7348, allocations: 398.8 kB / 0.5542 GB, free: 8.91 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.7348, allocations: 12.03 kB / 0.5542 GB, free: 8.898 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.7349, allocations: 11.81 kB / 0.5542 GB, free: 8.887 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.7354, allocations: 206.8 kB / 0.5544 GB, free: 8.645 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7354, allocations: 0 / 0.5544 GB, free: 8.645 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.7355, allocations: 7.984 kB / 0.5544 GB, free: 8.637 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.7356, allocations: 19.94 kB / 0.5545 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.7358, allocations: 53.62 kB / 0.5545 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.7359, allocations: 0 / 0.5545 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.7359, allocations: 0 / 0.5545 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7359, allocations: 0 / 0.5545 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.7366, allocations: 293.3 kB / 0.5548 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.7367, allocations: 42.52 kB / 0.5548 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.7368, allocations: 20.92 kB / 0.5548 GB, free: 8.16 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.7369, allocations: 7.984 kB / 0.5549 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.7369, allocations: 30.56 kB / 0.5549 GB, free: 8.113 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.735e-06/0.7369, allocations: 0 / 0.5549 GB, free: 8.113 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008013/0.7378, allocations: 129.3 kB / 0.555 GB, free: 7.98 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7378, allocations: 55.34 kB / 0.5551 GB, free: 7.914 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.7383, allocations: 209.4 kB / 0.5553 GB, free: 7.699 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.7383, allocations: 25.7 kB / 0.5553 GB, free: 7.668 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.7385, allocations: 166.5 kB / 0.5554 GB, free: 7.504 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.7386, allocations: 27.64 kB / 0.5555 GB, free: 7.477 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.7386, allocations: 0 / 0.5555 GB, free: 7.477 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7388, allocations: 315 kB / 0.5558 GB, free: 7.16 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.7389, allocations: 16 kB / 0.5558 GB, free: 7.145 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.7389, allocations: 12 kB / 0.5558 GB, free: 7.133 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.739, allocations: 20.28 kB / 0.5558 GB, free: 7.113 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7391, allocations: 4 kB / 0.5558 GB, free: 7.109 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002633/0.7393, allocations: 73.77 kB / 0.5559 GB, free: 7.031 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.7394, allocations: 8 kB / 0.5559 GB, free: 7.023 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7394, allocations: 0 / 0.5559 GB, free: 7.023 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.7394, allocations: 4 kB / 0.5559 GB, free: 7.02 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.7397, allocations: 23.92 kB / 0.5559 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7397, allocations: 0 / 0.5559 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.7399, allocations: 7.953 kB / 0.5559 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.74, allocations: 4 kB / 0.5559 GB, free: 6.984 MB / 395.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 () * 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.0001128/0.7401, allocations: 109 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002891/0.7404, allocations: 77.59 kB / 0.5561 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.7405, allocations: 15.8 kB / 0.5561 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.7409, allocations: 99.44 kB / 0.5562 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7409, allocations: 3.938 kB / 0.5562 GB, free: 6.668 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.7409, allocations: 3.953 kB / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.741, allocations: 0 / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.7419, allocations: 359.1 kB / 0.5566 GB, free: 6.27 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7419, allocations: 0 / 0.5566 GB, free: 6.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.7421, allocations: 23.92 kB / 0.5566 GB, free: 6.246 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.7422, allocations: 0 / 0.5566 GB, free: 6.246 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.7422, allocations: 3.953 kB / 0.5566 GB, free: 6.242 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7422, allocations: 320 / 0.5566 GB, free: 6.242 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.7422, allocations: 4 kB / 0.5566 GB, free: 6.238 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.7426, allocations: 187.3 kB / 0.5568 GB, free: 6.039 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.7428, allocations: 93.02 kB / 0.5569 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.7429, allocations: 0 / 0.5569 GB, free: 5.93 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.7431, allocations: 15.88 kB / 0.5569 GB, free: 5.914 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.7432, allocations: 4 kB / 0.5569 GB, free: 5.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.7432, allocations: 3.984 kB / 0.5569 GB, free: 5.906 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003262/0.7435, allocations: 164.2 kB / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7436, allocations: 0 / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006079/0.7442, allocations: 24 kB / 0.5571 GB, free: 5.723 MB / 395.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 () * 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.002114/0.7463, allocations: 0.9415 MB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.7466, allocations: 47.92 kB / 0.558 GB, free: 4.75 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7467, allocations: 0 / 0.558 GB, free: 4.75 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.7468, allocations: 20 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.7473, allocations: 27.73 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.7485, allocations: 279.5 kB / 0.5583 GB, free: 4.387 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.749, allocations: 0.7119 MB / 0.559 GB, free: 3.648 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.7492, allocations: 47.36 kB / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of SimCode: time 1.763e-06/0.7492, allocations: 0 / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.544, allocations: 2.383 MB / 0.5614 GB, free: 1.223 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat