Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",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.002313/0.002313, allocations: 180.1 kB / 8.362 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.355/2.355, 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: 84.88 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.3021/0.3021, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.355e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4422, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.6064, allocations: 85.59 MB / 0.5496 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6068, allocations: 75.95 kB / 0.5497 GB, free: 13.53 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.6229, allocations: 3.531 MB / 0.5531 GB, free: 9.996 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.623, allocations: 4 kB / 0.5531 GB, free: 9.992 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.623, allocations: 3.938 kB / 0.5531 GB, free: 9.988 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.0004898/0.6235, allocations: 367 kB / 0.5535 GB, free: 9.586 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6236, allocations: 12.03 kB / 0.5535 GB, free: 9.574 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.6236, allocations: 3.906 kB / 0.5535 GB, free: 9.57 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.6239, allocations: 194.9 kB / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.624, allocations: 4 kB / 0.5537 GB, free: 9.336 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.624, allocations: 4 kB / 0.5537 GB, free: 9.332 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.361e-05/0.6241, allocations: 15.98 kB / 0.5537 GB, free: 9.316 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.6242, allocations: 37.7 kB / 0.5537 GB, free: 9.273 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6242, allocations: 0 / 0.5537 GB, free: 9.273 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6243, allocations: 0 / 0.5537 GB, free: 9.273 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6243, allocations: 0 / 0.5537 GB, free: 9.273 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.6247, allocations: 261.3 kB / 0.554 GB, free: 8.98 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.6249, allocations: 38.56 kB / 0.554 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.6249, allocations: 12.94 kB / 0.554 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.625, allocations: 0 / 0.554 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.625, allocations: 30.56 kB / 0.554 GB, free: 8.879 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.625, allocations: 3.938 kB / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004857/0.6255, allocations: 101.3 kB / 0.5541 GB, free: 8.77 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6256, allocations: 59.41 kB / 0.5542 GB, free: 8.699 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6258, allocations: 140.3 kB / 0.5543 GB, free: 8.555 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6258, allocations: 29.64 kB / 0.5544 GB, free: 8.52 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.6259, allocations: 154.6 kB / 0.5545 GB, free: 8.367 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.6259, allocations: 19.75 kB / 0.5545 GB, free: 8.348 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.626, allocations: 0 / 0.5545 GB, free: 8.348 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6261, allocations: 314.8 kB / 0.5548 GB, free: 8.031 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.6262, allocations: 8 kB / 0.5548 GB, free: 8.023 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.6262, allocations: 8 kB / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.6262, allocations: 15.98 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6263, allocations: 0 / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001245/0.6264, allocations: 53.64 kB / 0.5549 GB, free: 7.941 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6264, allocations: 11.98 kB / 0.5549 GB, free: 7.93 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6264, allocations: 0 / 0.5549 GB, free: 7.93 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6265, allocations: 0 / 0.5549 GB, free: 7.93 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.6266, allocations: 12 kB / 0.5549 GB, free: 7.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6266, allocations: 0 / 0.5549 GB, free: 7.918 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.6267, allocations: 11.98 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.6267, allocations: 256 / 0.555 GB, free: 7.906 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.47e-05/0.6268, allocations: 109.1 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001524/0.627, allocations: 65.53 kB / 0.5551 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.627, allocations: 7.906 kB / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.6272, allocations: 70 kB / 0.5552 GB, free: 7.645 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6272, allocations: 0 / 0.5552 GB, free: 7.645 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6273, allocations: 4 kB / 0.5552 GB, free: 7.641 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6273, allocations: 3.953 kB / 0.5552 GB, free: 7.637 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.6277, allocations: 303.1 kB / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6277, allocations: 0 / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6278, allocations: 15.98 kB / 0.5555 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6279, allocations: 0 / 0.5555 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.6279, allocations: 0 / 0.5555 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.6279, allocations: 0 / 0.5555 GB, free: 7.281 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6279, allocations: 7.953 kB / 0.5555 GB, free: 7.273 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.6281, allocations: 159.5 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.6282, allocations: 89 kB / 0.5557 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6282, allocations: 0 / 0.5557 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.6283, allocations: 8 kB / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.6284, allocations: 11.92 kB / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.6284, allocations: 3.953 kB / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.6285, allocations: 112.5 kB / 0.5559 GB, free: 6.863 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6286, allocations: 11.88 kB / 0.5559 GB, free: 6.852 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.6289, allocations: 20 kB / 0.5559 GB, free: 6.832 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.001387/0.6303, allocations: 0.9149 MB / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.6305, allocations: 27.94 kB / 0.5568 GB, free: 5.906 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6305, allocations: 0 / 0.5568 GB, free: 5.906 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.6305, allocations: 12 kB / 0.5568 GB, free: 5.895 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.6308, allocations: 23.12 kB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.6314, allocations: 191 kB / 0.557 GB, free: 5.645 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.6318, allocations: 0.6963 MB / 0.5577 GB, free: 4.922 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.6319, allocations: 31.36 kB / 0.5578 GB, free: 4.891 MB / 395.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6319, allocations: 0 / 0.5578 GB, free: 4.891 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/3.532, allocations: 1.823 MB / 0.5595 GB, free: 3.074 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat