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.001054/0.001054, allocations: 183 kB / 13.19 MB, free: 2.129 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.515/1.515, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008507/0.0008507, allocations: 84.38 kB / 267 MB, free: 9.277 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.3629/0.3629, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.678e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 58.86 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6406, allocations: 87.61 MB / 0.5585 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.641, allocations: 74.45 kB / 0.5585 GB, free: 16.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.6561, allocations: 5.441 MB / 0.5639 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6562, allocations: 0 / 0.5639 GB, free: 13.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.6562, allocations: 0 / 0.5639 GB, free: 13.26 MB / 394.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.0004901/0.6567, allocations: 405.4 kB / 0.5642 GB, free: 12.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.6568, allocations: 16.03 kB / 0.5643 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.6568, allocations: 34.06 kB / 0.5643 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.6569, allocations: 12.8 kB / 0.5643 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.6572, allocations: 218.1 kB / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6572, allocations: 0 / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.6572, allocations: 7.312 kB / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.6574, allocations: 55.55 kB / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6574, allocations: 0 / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.6574, allocations: 5.359 kB / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.6574, allocations: 0 / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.6575, allocations: 25.53 kB / 0.5646 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.658, allocations: 292 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.6581, allocations: 55.64 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.6582, allocations: 21.3 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.6582, allocations: 3.938 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.6583, allocations: 70.06 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6583, allocations: 0 / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.6589, allocations: 161.3 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.6589, allocations: 51.41 kB / 0.5652 GB, free: 11.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.6591, allocations: 182.8 kB / 0.5654 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6592, allocations: 36.12 kB / 0.5654 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.6592, allocations: 99.39 kB / 0.5655 GB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.6592, allocations: 30.77 kB / 0.5656 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.6593, allocations: 0 / 0.5656 GB, free: 11.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.6593, allocations: 326.7 kB / 0.5659 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.6594, allocations: 19.69 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.6594, allocations: 33.22 kB / 0.5659 GB, free: 11.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.6595, allocations: 23.73 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6595, allocations: 0 / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.6597, allocations: 96.28 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6597, allocations: 11.92 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6597, allocations: 192 / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6597, allocations: 4 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.6598, allocations: 16 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.6598, allocations: 3.953 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.6599, allocations: 10.05 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6599, allocations: 7.938 kB / 0.5661 GB, free: 11.02 MB / 394.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 6.826e-05/0.66, allocations: 102.4 kB / 0.5662 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.66, allocations: 19.84 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.6602, allocations: 121.9 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.6602, allocations: 0 / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6603, allocations: 0 / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6603, allocations: 3.953 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.6606, allocations: 408.8 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6607, allocations: 0 / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.6607, allocations: 15.92 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6607, allocations: 4.031 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.6607, allocations: 11.7 kB / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6607, allocations: 0 / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6607, allocations: 0 / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6609, allocations: 221.4 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.661, allocations: 93 kB / 0.5671 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.661, allocations: 12.27 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.6611, allocations: 4 kB / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.6612, allocations: 7.984 kB / 0.5671 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.6612, allocations: 4 kB / 0.5671 GB, free: 9.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.6613, allocations: 156.2 kB / 0.5672 GB, free: 9.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6613, allocations: 0 / 0.5672 GB, free: 9.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.6616, allocations: 35.81 kB / 0.5673 GB, free: 9.832 MB / 394.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.001355/0.663, allocations: 1.137 MB / 0.5684 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.6631, allocations: 55.55 kB / 0.5684 GB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6631, allocations: 0 / 0.5684 GB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.6632, allocations: 31.44 kB / 0.5685 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.6634, allocations: 32.66 kB / 0.5685 GB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.664, allocations: 228.7 kB / 0.5687 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.6641, allocations: 0.7162 MB / 0.5694 GB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.6642, allocations: 20.8 kB / 0.5694 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.6643, allocations: 38.17 kB / 0.5695 GB, free: 7.656 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6643, allocations: 0 / 0.5695 GB, free: 7.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.6787, allocations: 3.079 MB / 0.5725 GB, free: 4.609 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.6789, allocations: 179.6 kB / 0.5726 GB, free: 4.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.396, allocations: 0 / 0.5726 GB, free: 4.391 MB / 394.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