Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001552/0.001552, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008895, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2299/0.2299, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1939, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.6768, allocations: 87.57 MB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.6771, allocations: 80.25 kB / 0.5645 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.6942, allocations: 6.513 MB / 0.5708 GB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6943, allocations: 0 / 0.5708 GB, free: 6.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.054e-05/0.6944, allocations: 12 kB / 0.5708 GB, free: 6.496 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001682/0.6961, allocations: 0.7192 MB / 0.5715 GB, free: 5.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.98e-05/0.6962, allocations: 12.03 kB / 0.5715 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.6962, allocations: 33.88 kB / 0.5716 GB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.6964, allocations: 51.39 kB / 0.5716 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.6975, allocations: 485 kB / 0.5721 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.6975, allocations: 11.69 kB / 0.5721 GB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.6975, allocations: 3.938 kB / 0.5721 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.6978, allocations: 94.47 kB / 0.5722 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6978, allocations: 0 / 0.5722 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6978, allocations: 0 / 0.5722 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.6978, allocations: 0 / 0.5722 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.698, allocations: 35.22 kB / 0.5722 GB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.6985, allocations: 387.6 kB / 0.5726 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.6988, allocations: 104.3 kB / 0.5727 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.6989, allocations: 0 / 0.5727 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.6992, allocations: 116.1 kB / 0.5728 GB, free: 4.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/0.6992, allocations: 0 / 0.5728 GB, free: 4.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005933/0.6998, allocations: 202.5 kB / 0.573 GB, free: 4.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.6999, allocations: 81.11 kB / 0.5731 GB, free: 4.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.7013, allocations: 0.9405 MB / 0.574 GB, free: 3.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.7013, allocations: 33.52 kB / 0.574 GB, free: 3.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.7015, allocations: 230.5 kB / 0.5742 GB, free: 3.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.7016, allocations: 34.67 kB / 0.5743 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.7016, allocations: 3.438 kB / 0.5743 GB, free: 3.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.7018, allocations: 372.8 kB / 0.5746 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.7019, allocations: 26.8 kB / 0.5747 GB, free: 2.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.702, allocations: 56.67 kB / 0.5747 GB, free: 2.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.7021, allocations: 45.98 kB / 0.5748 GB, free: 2.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7021, allocations: 0 / 0.5748 GB, free: 2.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003346/0.7025, allocations: 171.3 kB / 0.5749 GB, free: 2.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.7025, allocations: 4 kB / 0.5749 GB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7025, allocations: 4 kB / 0.5749 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.7025, allocations: 0 / 0.5749 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.7027, allocations: 31.98 kB / 0.575 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7027, allocations: 0 / 0.575 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7028, allocations: 15.84 kB / 0.575 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.7028, allocations: 11.92 kB / 0.575 GB, free: 2.586 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002396/0.7031, allocations: 228 kB / 0.5752 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.7032, allocations: 51.34 kB / 0.5752 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.7036, allocations: 207.5 kB / 0.5754 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7036, allocations: 4 kB / 0.5755 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7036, allocations: 0 / 0.5755 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7036, allocations: 7.938 kB / 0.5755 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.704, allocations: 382.1 kB / 0.5758 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.704, allocations: 4 kB / 0.5758 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.7041, allocations: 15.92 kB / 0.5758 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7041, allocations: 0 / 0.5758 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.7041, allocations: 7.984 kB / 0.5758 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7041, allocations: 0 / 0.5758 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7041, allocations: 0 / 0.5758 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.7046, allocations: 232.2 kB / 0.5761 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.7049, allocations: 196 kB / 0.5763 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.705, allocations: 11.92 kB / 0.5763 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.7051, allocations: 7.938 kB / 0.5763 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.7051, allocations: 15.86 kB / 0.5763 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.7052, allocations: 8 kB / 0.5763 GB, free: 1.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009232/0.7061, allocations: 0.7491 MB / 0.577 GB, free: 0.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7061, allocations: 0 / 0.577 GB, free: 0.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003524/0.7065, allocations: 79.94 kB / 0.5771 GB, free: 0.6758 MB / 378.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001662/0.7081, allocations: 1.152 MB / 0.5782 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.7084, allocations: 95.2 kB / 0.5783 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7084, allocations: 0 / 0.5783 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.7085, allocations: 47.23 kB / 0.5784 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.7089, allocations: 64.92 kB / 0.5784 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.7135, allocations: 3.366 MB / 0.5817 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.7141, allocations: 0.8541 MB / 0.5826 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.7143, allocations: 86.58 kB / 0.5826 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.7145, allocations: 162.2 kB / 0.5828 GB, free: 11.35 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7146, allocations: 4 kB / 0.5828 GB, free: 11.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.7393, allocations: 9.216 MB / 0.5918 GB, free: 2.137 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.7395, allocations: 213.8 kB / 0.592 GB, free: 1.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.989, allocations: 0 / 0.592 GB, free: 1.895 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat