Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001087/0.001087, allocations: 177.8 kB / 8.004 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.511/1.511, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008434/0.0008437, allocations: 90.62 kB / 261.8 MB, free: 1.672 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.1963/0.1963, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.716e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3703/0.4819, allocations: 86.96 MB / 0.551 GB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4822, allocations: 75.64 kB / 0.551 GB, free: 7.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.4946, allocations: 5.399 MB / 0.5563 GB, free: 3.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4946, allocations: 0 / 0.5563 GB, free: 3.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4946, allocations: 8 kB / 0.5563 GB, free: 3.613 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003283/0.495, allocations: 408.7 kB / 0.5567 GB, free: 3.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.495, allocations: 8.031 kB / 0.5567 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.4951, allocations: 11.91 kB / 0.5567 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4953, allocations: 214.4 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4953, allocations: 4 kB / 0.5569 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.4953, allocations: 4 kB / 0.5569 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.214e-05/0.4954, allocations: 15.3 kB / 0.5569 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.4955, allocations: 48.44 kB / 0.557 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4955, allocations: 0 / 0.557 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4955, allocations: 0 / 0.557 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4955, allocations: 7.938 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.4958, allocations: 273.8 kB / 0.5573 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.4959, allocations: 48.58 kB / 0.5573 GB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.496, allocations: 23.97 kB / 0.5573 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.496, allocations: 0 / 0.5573 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.4961, allocations: 70.72 kB / 0.5574 GB, free: 2.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.4961, allocations: 0 / 0.5574 GB, free: 2.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000343/0.4964, allocations: 148.8 kB / 0.5575 GB, free: 2.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.4965, allocations: 59.41 kB / 0.5576 GB, free: 2.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4966, allocations: 186.4 kB / 0.5578 GB, free: 2.051 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4966, allocations: 29.69 kB / 0.5578 GB, free: 2.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4967, allocations: 97.52 kB / 0.5579 GB, free: 1.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.4967, allocations: 27.08 kB / 0.5579 GB, free: 1.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.4967, allocations: 0 / 0.5579 GB, free: 1.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.4967, allocations: 323.9 kB / 0.5582 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.4968, allocations: 23.5 kB / 0.5583 GB, free: 1.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.4968, allocations: 35.47 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.4969, allocations: 17.67 kB / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4969, allocations: 4 kB / 0.5583 GB, free: 1.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.497, allocations: 85.56 kB / 0.5584 GB, free: 1.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.497, allocations: 11.94 kB / 0.5584 GB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.497, allocations: 3.984 kB / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.497, allocations: 0 / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.4971, allocations: 15.25 kB / 0.5584 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4971, allocations: 8.031 kB / 0.5584 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.4972, allocations: 0 / 0.5584 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4972, allocations: 11.94 kB / 0.5584 GB, free: 1.402 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.661e-05/0.4972, allocations: 102.4 kB / 0.5585 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001066/0.4973, allocations: 98 kB / 0.5586 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.4974, allocations: 7.906 kB / 0.5586 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.4975, allocations: 110.4 kB / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4975, allocations: 4 kB / 0.5587 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4976, allocations: 7.953 kB / 0.5588 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4976, allocations: 3.984 kB / 0.5588 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.4978, allocations: 375.7 kB / 0.5591 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4978, allocations: 0 / 0.5591 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.4979, allocations: 15.92 kB / 0.5591 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4979, allocations: 4 kB / 0.5591 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.4979, allocations: 0 / 0.5591 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4979, allocations: 3.953 kB / 0.5591 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4979, allocations: 4.312 kB / 0.5591 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4981, allocations: 210.6 kB / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.4981, allocations: 100.8 kB / 0.5594 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.4981, allocations: 11.89 kB / 0.5595 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.4982, allocations: 192 / 0.5595 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.4983, allocations: 15.97 kB / 0.5595 GB, free: 344 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4983, allocations: 8 kB / 0.5595 GB, free: 336 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.4983, allocations: 145 kB / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4984, allocations: 0 / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.4986, allocations: 31.94 kB / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001181/0.4998, allocations: 1.101 MB / 0.5607 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4999, allocations: 49.19 kB / 0.5608 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4999, allocations: 3.938 kB / 0.5608 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.5, allocations: 30.75 kB / 0.5608 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5002, allocations: 23.28 kB / 0.5608 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.5007, allocations: 216.5 kB / 0.561 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5011, allocations: 0.712 MB / 0.5617 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.5011, allocations: 16.55 kB / 0.5617 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.5012, allocations: 39.61 kB / 0.5618 GB, free: 14.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5012, allocations: 0 / 0.5618 GB, free: 14.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.5243, allocations: 2.722 MB / 0.5644 GB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.5246, allocations: 162.5 kB / 0.5646 GB, free: 11.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.105, allocations: 0 / 0.5646 GB, free: 11.14 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat