Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",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.002386/0.002386, allocations: 177.8 kB / 8.36 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.039/2.039, 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.001107/0.001107, allocations: 86.77 kB / 262.1 MB, free: 13.86 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.4031/0.4031, allocations: 43.49 MB / 353.6 MB, free: 2.25 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.487e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4277, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.596, allocations: 85.63 MB / 0.5496 GB, free: 13.55 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.5964, allocations: 71.97 kB / 0.5497 GB, free: 13.48 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.6132, allocations: 3.897 MB / 0.5535 GB, free: 9.594 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6132, allocations: 0 / 0.5535 GB, free: 9.594 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.6133, allocations: 0 / 0.5535 GB, free: 9.594 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.0004988/0.6138, allocations: 382.9 kB / 0.5539 GB, free: 9.176 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6139, allocations: 12.03 kB / 0.5539 GB, free: 9.164 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.6139, allocations: 7.906 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.6142, allocations: 209.6 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6143, allocations: 4 kB / 0.5541 GB, free: 8.91 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.6143, allocations: 4 kB / 0.5541 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.556e-05/0.6144, allocations: 8 kB / 0.5541 GB, free: 8.898 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.6145, allocations: 45.62 kB / 0.5541 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6145, allocations: 0 / 0.5541 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.6146, allocations: 0 / 0.5541 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.6146, allocations: 4 kB / 0.5541 GB, free: 8.844 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.615, allocations: 265.4 kB / 0.5544 GB, free: 8.547 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.6153, allocations: 34.52 kB / 0.5544 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.6153, allocations: 16.94 kB / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.6153, allocations: 0 / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6154, allocations: 30.56 kB / 0.5545 GB, free: 8.445 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/0.6154, allocations: 3.984 kB / 0.5545 GB, free: 8.441 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005239/0.6159, allocations: 105.3 kB / 0.5546 GB, free: 8.332 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.616, allocations: 51.41 kB / 0.5546 GB, free: 8.27 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.6163, allocations: 177.4 kB / 0.5548 GB, free: 8.09 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6163, allocations: 25.7 kB / 0.5548 GB, free: 8.059 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.6164, allocations: 166.4 kB / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.6164, allocations: 19.75 kB / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.6165, allocations: 0 / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6166, allocations: 318.8 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.6167, allocations: 12 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.6167, allocations: 12 kB / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.6167, allocations: 8.156 kB / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6168, allocations: 0 / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001397/0.6169, allocations: 49.69 kB / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6169, allocations: 11.94 kB / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.617, allocations: 0 / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.617, allocations: 0 / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6171, allocations: 15.98 kB / 0.5554 GB, free: 7.441 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6171, allocations: 4 kB / 0.5554 GB, free: 7.438 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.6172, allocations: 8 kB / 0.5554 GB, free: 7.43 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.6172, allocations: 0 / 0.5554 GB, free: 7.43 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 9.109e-05/0.6173, allocations: 108.9 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001502/0.6175, allocations: 57.84 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.6176, allocations: 15.88 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.6178, allocations: 74.02 kB / 0.5557 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6178, allocations: 4 kB / 0.5557 GB, free: 7.152 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6178, allocations: 4 kB / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6178, allocations: 3.953 kB / 0.5557 GB, free: 7.145 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.6183, allocations: 315.1 kB / 0.556 GB, free: 6.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6183, allocations: 4 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6185, allocations: 11.94 kB / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6185, allocations: 4 kB / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.6185, allocations: 0 / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6185, allocations: 3.938 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6185, allocations: 7.953 kB / 0.556 GB, free: 6.762 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.6187, allocations: 155.5 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.6188, allocations: 100.9 kB / 0.5562 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.6189, allocations: 0 / 0.5562 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.619, allocations: 7.984 kB / 0.5563 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.6191, allocations: 4 kB / 0.5563 GB, free: 6.465 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.6191, allocations: 7.891 kB / 0.5563 GB, free: 6.457 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.6193, allocations: 152.1 kB / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6193, allocations: 0 / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.6197, allocations: 24 kB / 0.5564 GB, free: 6.285 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.001466/0.6212, allocations: 0.9145 MB / 0.5573 GB, free: 5.391 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.6214, allocations: 27.94 kB / 0.5574 GB, free: 5.363 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6214, allocations: 0 / 0.5574 GB, free: 5.363 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.6214, allocations: 19.94 kB / 0.5574 GB, free: 5.344 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.6218, allocations: 19.83 kB / 0.5574 GB, free: 5.324 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.6225, allocations: 239.5 kB / 0.5576 GB, free: 5.047 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.6229, allocations: 0.7041 MB / 0.5583 GB, free: 4.316 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.623, allocations: 31.42 kB / 0.5583 GB, free: 4.285 MB / 395.1 MB Notification: Performance of SimCode: time 7.71e-07/0.623, allocations: 4 kB / 0.5583 GB, free: 4.281 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.964/3.587, allocations: 2.075 MB / 0.5604 GB, free: 2.215 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat