Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",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.0009926/0.0009929, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009753/0.0009752, allocations: 78.58 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2253/0.2253, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.913e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4973, allocations: 85.63 MB / 0.5496 GB, free: 8.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.4975, allocations: 75.97 kB / 0.5497 GB, free: 8.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008304/0.5058, allocations: 4.004 MB / 0.5536 GB, free: 5.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5059, allocations: 0 / 0.5536 GB, free: 5.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5059, allocations: 7.938 kB / 0.5536 GB, free: 5.441 MB / 362.7 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.0002583/0.5061, allocations: 389.7 kB / 0.554 GB, free: 5.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5062, allocations: 8.781 kB / 0.554 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.5062, allocations: 11.81 kB / 0.554 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.5064, allocations: 205.9 kB / 0.5542 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.5064, allocations: 4 kB / 0.5542 GB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5064, allocations: 7.875 kB / 0.5542 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.417e-05/0.5065, allocations: 11.98 kB / 0.5542 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.563e-05/0.5066, allocations: 43.45 kB / 0.5543 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.5066, allocations: 0 / 0.5543 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5066, allocations: 7.922 kB / 0.5543 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5066, allocations: 0 / 0.5543 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.5069, allocations: 266.1 kB / 0.5545 GB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.507, allocations: 41.5 kB / 0.5546 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.5071, allocations: 8.859 kB / 0.5546 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.5071, allocations: 4 kB / 0.5546 GB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.5071, allocations: 34.5 kB / 0.5546 GB, free: 4.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5071, allocations: 0 / 0.5546 GB, free: 4.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003454/0.5075, allocations: 114.7 kB / 0.5547 GB, free: 4.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.5075, allocations: 59.36 kB / 0.5548 GB, free: 4.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5077, allocations: 214.3 kB / 0.555 GB, free: 3.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.5077, allocations: 33.64 kB / 0.555 GB, free: 3.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.5077, allocations: 101.7 kB / 0.5551 GB, free: 3.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.5077, allocations: 19.19 kB / 0.5552 GB, free: 3.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.5078, allocations: 3.938 kB / 0.5552 GB, free: 3.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.5078, allocations: 325.5 kB / 0.5555 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.5078, allocations: 6.438 kB / 0.5555 GB, free: 3.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.5079, allocations: 10.75 kB / 0.5555 GB, free: 3.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.5079, allocations: 15.14 kB / 0.5555 GB, free: 3.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5079, allocations: 0 / 0.5555 GB, free: 3.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.42e-05/0.508, allocations: 59.33 kB / 0.5556 GB, free: 3.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.508, allocations: 4 kB / 0.5556 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.508, allocations: 0 / 0.5556 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.508, allocations: 0 / 0.5556 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.5081, allocations: 19.23 kB / 0.5556 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5081, allocations: 0 / 0.5556 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.5081, allocations: 23.94 kB / 0.5556 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.5082, allocations: 0 / 0.5556 GB, free: 3.359 MB / 362.7 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 4.088e-05/0.5082, allocations: 104.9 kB / 0.5557 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.822e-05/0.5083, allocations: 64.2 kB / 0.5558 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.5083, allocations: 7.906 kB / 0.5558 GB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.5084, allocations: 76.67 kB / 0.5558 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5084, allocations: 0 / 0.5558 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5085, allocations: 3.953 kB / 0.5558 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5085, allocations: 4 kB / 0.5558 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.5087, allocations: 335.1 kB / 0.5562 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5087, allocations: 0 / 0.5562 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.5088, allocations: 11.98 kB / 0.5562 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5088, allocations: 4 kB / 0.5562 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5088, allocations: 0 / 0.5562 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5088, allocations: 3.953 kB / 0.5562 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5088, allocations: 0 / 0.5562 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.5089, allocations: 176.9 kB / 0.5564 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.509, allocations: 89.02 kB / 0.5564 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.509, allocations: 3.984 kB / 0.5564 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.5091, allocations: 4.25 kB / 0.5564 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.5091, allocations: 15.77 kB / 0.5565 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5091, allocations: 4 kB / 0.5565 GB, free: 2.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.5092, allocations: 170.2 kB / 0.5566 GB, free: 2.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5092, allocations: 4 kB / 0.5566 GB, free: 2.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.5095, allocations: 26.73 kB / 0.5567 GB, free: 2.266 MB / 362.7 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.0007773/0.5102, allocations: 0.922 MB / 0.5576 GB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.5103, allocations: 23.69 kB / 0.5576 GB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5103, allocations: 0 / 0.5576 GB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.5104, allocations: 23.05 kB / 0.5576 GB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.5106, allocations: 12.02 kB / 0.5576 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.5111, allocations: 237.9 kB / 0.5578 GB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.5112, allocations: 0.7119 MB / 0.5585 GB, free: 360 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.5113, allocations: 24.02 kB / 0.5586 GB, free: 340 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.5113, allocations: 30.5 kB / 0.5586 GB, free: 324 kB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5113, allocations: 0 / 0.5586 GB, free: 324 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.5294, allocations: 2.248 MB / 0.5608 GB, free: 14.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.5297, allocations: 169.3 kB / 0.5609 GB, free: 13.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.431/1.961, allocations: 4 kB / 0.5609 GB, free: 13.87 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat