Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",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.002849/0.002849, allocations: 177.7 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.264/2.264, 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.001157/0.001157, allocations: 87.31 kB / 262.1 MB, free: 13.88 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.3203/0.3203, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.437e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4264, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.5918, allocations: 85.6 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5922, allocations: 75.95 kB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.6081, allocations: 3.571 MB / 0.5531 GB, free: 9.973 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6081, allocations: 0 / 0.5531 GB, free: 9.973 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.6082, allocations: 8.531 kB / 0.5532 GB, free: 9.965 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005201/0.6087, allocations: 374.9 kB / 0.5535 GB, free: 9.555 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.6088, allocations: 12.03 kB / 0.5535 GB, free: 9.543 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.6088, allocations: 7.906 kB / 0.5535 GB, free: 9.535 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.6091, allocations: 194.8 kB / 0.5537 GB, free: 9.305 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.6092, allocations: 4 kB / 0.5537 GB, free: 9.301 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.6092, allocations: 0 / 0.5537 GB, free: 9.301 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.302e-05/0.6093, allocations: 12 kB / 0.5537 GB, free: 9.289 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.6094, allocations: 41.69 kB / 0.5538 GB, free: 9.242 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6095, allocations: 4 kB / 0.5538 GB, free: 9.238 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6095, allocations: 3.938 kB / 0.5538 GB, free: 9.234 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.6095, allocations: 3.938 kB / 0.5538 GB, free: 9.23 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.6099, allocations: 261.5 kB / 0.554 GB, free: 8.938 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.6102, allocations: 38.56 kB / 0.5541 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.6102, allocations: 8.859 kB / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.6103, allocations: 0 / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6103, allocations: 30.56 kB / 0.5541 GB, free: 8.84 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.6103, allocations: 0 / 0.5541 GB, free: 8.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005302/0.6109, allocations: 101.4 kB / 0.5542 GB, free: 8.734 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.6109, allocations: 59.36 kB / 0.5543 GB, free: 8.664 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.6111, allocations: 148.2 kB / 0.5544 GB, free: 8.516 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.6112, allocations: 25.7 kB / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.6113, allocations: 162.5 kB / 0.5546 GB, free: 8.324 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.6113, allocations: 15.72 kB / 0.5546 GB, free: 8.309 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.6113, allocations: 3.938 kB / 0.5546 GB, free: 8.305 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6115, allocations: 318.8 kB / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.6115, allocations: 8 kB / 0.5549 GB, free: 7.977 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.6116, allocations: 8 kB / 0.5549 GB, free: 7.969 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.6116, allocations: 15.94 kB / 0.5549 GB, free: 7.953 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6117, allocations: 0 / 0.5549 GB, free: 7.953 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001471/0.6118, allocations: 53.69 kB / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.6118, allocations: 4 kB / 0.555 GB, free: 7.891 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6119, allocations: 0 / 0.555 GB, free: 7.891 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6119, allocations: 0 / 0.555 GB, free: 7.891 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.6121, allocations: 15.98 kB / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6121, allocations: 7.953 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.6122, allocations: 8 kB / 0.555 GB, free: 7.859 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.6122, allocations: 0 / 0.555 GB, free: 7.859 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 (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.803e-05/0.6123, allocations: 101.1 kB / 0.5551 GB, free: 7.754 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000158/0.6125, allocations: 65.53 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.6125, allocations: 8.047 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.6127, allocations: 78.02 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6128, allocations: 4 kB / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6128, allocations: 0 / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.6128, allocations: 4.375 kB / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.6133, allocations: 303.1 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6133, allocations: 4 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.6134, allocations: 11.98 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.6135, allocations: 7.953 kB / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6135, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6135, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6135, allocations: 4 kB / 0.5556 GB, free: 7.223 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.6137, allocations: 155.5 kB / 0.5557 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.6138, allocations: 88.95 kB / 0.5558 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.6139, allocations: 3.953 kB / 0.5558 GB, free: 6.945 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.614, allocations: 15.98 kB / 0.5558 GB, free: 6.93 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.614, allocations: 3.938 kB / 0.5558 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.6141, allocations: 8 kB / 0.5558 GB, free: 6.918 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.6142, allocations: 123.2 kB / 0.556 GB, free: 6.797 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.826e-06/0.6142, allocations: 0 / 0.556 GB, free: 6.797 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.6146, allocations: 19.88 kB / 0.556 GB, free: 6.777 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 (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.001564/0.6162, allocations: 0.9183 MB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.6164, allocations: 27.94 kB / 0.5569 GB, free: 5.848 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6164, allocations: 0 / 0.5569 GB, free: 5.848 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.6165, allocations: 12 kB / 0.5569 GB, free: 5.836 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.6168, allocations: 31.16 kB / 0.5569 GB, free: 5.809 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.6175, allocations: 187.8 kB / 0.5571 GB, free: 5.582 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.6179, allocations: 0.7079 MB / 0.5578 GB, free: 4.848 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.618, allocations: 27.42 kB / 0.5578 GB, free: 4.82 MB / 395.1 MB Notification: Performance of SimCode: time 9.32e-07/0.618, allocations: 0 / 0.5578 GB, free: 4.82 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.413, allocations: 1.885 MB / 0.5597 GB, free: 2.945 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat