Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",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.00225/0.002258, 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.119/2.119, 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.001051/0.001051, allocations: 94.62 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.3223/0.3223, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.12e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4218, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.6001, allocations: 85.64 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004146/0.6006, allocations: 71.97 kB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.6286, allocations: 3.883 MB / 0.5535 GB, free: 9.625 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6286, allocations: 0 / 0.5535 GB, free: 9.625 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.6287, allocations: 0 / 0.5535 GB, free: 9.625 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.0007054/0.6294, allocations: 386.9 kB / 0.5539 GB, free: 9.203 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.6295, allocations: 8.031 kB / 0.5539 GB, free: 9.195 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.6296, allocations: 11.84 kB / 0.5539 GB, free: 9.184 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.6301, allocations: 213.7 kB / 0.5541 GB, free: 8.938 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6301, allocations: 4 kB / 0.5541 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.6301, allocations: 0 / 0.5541 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001218/0.6303, allocations: 15.98 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.6305, allocations: 37.7 kB / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6305, allocations: 0 / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.6305, allocations: 0 / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6306, allocations: 0 / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.6312, allocations: 273.3 kB / 0.5544 GB, free: 8.57 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.6316, allocations: 34.52 kB / 0.5544 GB, free: 8.527 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.6316, allocations: 12.86 kB / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.6317, allocations: 0 / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.6318, allocations: 34.56 kB / 0.5545 GB, free: 8.469 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 3.176e-06/0.6318, allocations: 0 / 0.5545 GB, free: 8.469 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007361/0.6325, allocations: 109.4 kB / 0.5546 GB, free: 8.355 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.6326, allocations: 51.41 kB / 0.5546 GB, free: 8.293 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.633, allocations: 173.4 kB / 0.5548 GB, free: 8.117 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.6331, allocations: 29.69 kB / 0.5548 GB, free: 8.082 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6333, allocations: 170.4 kB / 0.555 GB, free: 7.914 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.6333, allocations: 15.75 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.6333, allocations: 0 / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6335, allocations: 318.8 kB / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.6336, allocations: 12 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.6337, allocations: 8 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.564e-05/0.6338, allocations: 12.14 kB / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.6338, allocations: 4 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002267/0.6341, allocations: 49.64 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.6341, allocations: 4 kB / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.6341, allocations: 0 / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6342, allocations: 0 / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.6344, allocations: 15.98 kB / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6345, allocations: 4 kB / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.6346, allocations: 7.984 kB / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.6347, allocations: 8 kB / 0.5554 GB, free: 7.449 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 0.0001235/0.6348, allocations: 104.9 kB / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002364/0.6351, allocations: 61.53 kB / 0.5556 GB, free: 7.273 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.6352, allocations: 12.12 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.6355, allocations: 78.08 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6356, allocations: 4 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6356, allocations: 0 / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6356, allocations: 3.953 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.6364, allocations: 323.1 kB / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6364, allocations: 0 / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.6366, allocations: 15.98 kB / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.6366, allocations: 0 / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.6367, allocations: 0 / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6367, allocations: 0 / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.6367, allocations: 7.953 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.637, allocations: 159.5 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6372, allocations: 96.91 kB / 0.5562 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.6372, allocations: 4 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.6374, allocations: 7.938 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.6375, allocations: 3.984 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.6376, allocations: 11.89 kB / 0.5563 GB, free: 6.473 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.6379, allocations: 152.1 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.6379, allocations: 0 / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.6385, allocations: 20 kB / 0.5564 GB, free: 6.305 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.002255/0.6407, allocations: 0.9169 MB / 0.5573 GB, free: 5.402 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.641, allocations: 27.94 kB / 0.5574 GB, free: 5.375 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6411, allocations: 4 kB / 0.5574 GB, free: 5.371 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.6411, allocations: 12 kB / 0.5574 GB, free: 5.359 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.6417, allocations: 31.2 kB / 0.5574 GB, free: 5.332 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.6428, allocations: 231.5 kB / 0.5576 GB, free: 5.062 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.6433, allocations: 0.708 MB / 0.5583 GB, free: 4.328 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.6435, allocations: 35.42 kB / 0.5584 GB, free: 4.293 MB / 395.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6435, allocations: 0 / 0.5584 GB, free: 4.293 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.663/3.307, allocations: 2.064 MB / 0.5604 GB, free: 2.234 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat