Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",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.002113/0.002112, 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.131/2.131, 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.001133/0.001133, allocations: 93.55 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.2949/0.2949, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.137e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4496, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.6592, allocations: 85.63 MB / 0.5496 GB, free: 13.59 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.6596, allocations: 79.47 kB / 0.5497 GB, free: 13.51 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02267/0.6823, allocations: 3.811 MB / 0.5534 GB, free: 9.707 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6823, allocations: 0 / 0.5534 GB, free: 9.707 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.156e-05/0.6824, allocations: 3.938 kB / 0.5534 GB, free: 9.703 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.0008056/0.6832, allocations: 378.9 kB / 0.5538 GB, free: 9.289 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.033e-05/0.6833, allocations: 12.03 kB / 0.5538 GB, free: 9.277 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.6834, allocations: 7.906 kB / 0.5538 GB, free: 9.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.684, allocations: 210.6 kB / 0.554 GB, free: 9.023 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.6841, allocations: 0 / 0.554 GB, free: 9.023 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.6841, allocations: 0 / 0.554 GB, free: 9.023 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001456/0.6843, allocations: 16 kB / 0.554 GB, free: 9.008 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.6845, allocations: 41.69 kB / 0.5541 GB, free: 8.961 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.6846, allocations: 0 / 0.5541 GB, free: 8.961 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.6846, allocations: 0 / 0.5541 GB, free: 8.961 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.6846, allocations: 0 / 0.5541 GB, free: 8.961 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.6855, allocations: 257.5 kB / 0.5543 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.6859, allocations: 38.52 kB / 0.5543 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.686, allocations: 12.86 kB / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.686, allocations: 0 / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.6861, allocations: 30.56 kB / 0.5544 GB, free: 8.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 3.166e-06/0.6861, allocations: 4 kB / 0.5544 GB, free: 8.566 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008488/0.687, allocations: 113.4 kB / 0.5545 GB, free: 8.449 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.6871, allocations: 51.41 kB / 0.5545 GB, free: 8.387 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.6876, allocations: 165.4 kB / 0.5547 GB, free: 8.219 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.6876, allocations: 29.64 kB / 0.5547 GB, free: 8.184 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.6877, allocations: 162.6 kB / 0.5549 GB, free: 8.023 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.6878, allocations: 15.8 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.6878, allocations: 0 / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.688, allocations: 318.8 kB / 0.5552 GB, free: 7.688 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.6881, allocations: 8 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.6881, allocations: 8 kB / 0.5552 GB, free: 7.672 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.738e-05/0.6882, allocations: 16.34 kB / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6882, allocations: 0 / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002242/0.6885, allocations: 61.53 kB / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.6885, allocations: 4 kB / 0.5553 GB, free: 7.586 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6885, allocations: 3.938 kB / 0.5553 GB, free: 7.582 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6886, allocations: 0 / 0.5553 GB, free: 7.582 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.6888, allocations: 15.98 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6888, allocations: 0 / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.689, allocations: 8 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.689, allocations: 8 kB / 0.5553 GB, free: 7.551 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.00013/0.6892, allocations: 108.9 kB / 0.5554 GB, free: 7.438 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002225/0.6894, allocations: 53.61 kB / 0.5555 GB, free: 7.379 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/0.6895, allocations: 7.906 kB / 0.5555 GB, free: 7.371 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.6898, allocations: 78.02 kB / 0.5556 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.6899, allocations: 0 / 0.5556 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6899, allocations: 0 / 0.5556 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6899, allocations: 3.953 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.6907, allocations: 319.1 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6908, allocations: 0 / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.691, allocations: 15.94 kB / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.691, allocations: 0 / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6911, allocations: 3.984 kB / 0.5559 GB, free: 6.906 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.6911, allocations: 3.984 kB / 0.5559 GB, free: 6.902 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6911, allocations: 8.203 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.6914, allocations: 171.4 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.6915, allocations: 85.02 kB / 0.5561 GB, free: 6.609 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.6916, allocations: 4 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6917, allocations: 7.984 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.6918, allocations: 7.938 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.6918, allocations: 7.953 kB / 0.5562 GB, free: 6.582 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.692, allocations: 139.9 kB / 0.5563 GB, free: 6.445 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.692, allocations: 0 / 0.5563 GB, free: 6.445 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.6924, allocations: 23.94 kB / 0.5563 GB, free: 6.422 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.001456/0.6939, allocations: 0.9166 MB / 0.5572 GB, free: 5.516 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.694, allocations: 28 kB / 0.5573 GB, free: 5.488 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6941, allocations: 0 / 0.5573 GB, free: 5.488 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.6941, allocations: 15.94 kB / 0.5573 GB, free: 5.473 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.6945, allocations: 20.03 kB / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.6952, allocations: 215.5 kB / 0.5575 GB, free: 5.203 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.6956, allocations: 0.7041 MB / 0.5582 GB, free: 4.473 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.6957, allocations: 27.44 kB / 0.5582 GB, free: 4.445 MB / 395.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6957, allocations: 4 kB / 0.5582 GB, free: 4.441 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.681/3.377, allocations: 2.011 MB / 0.5602 GB, free: 2.438 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat