Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.001116/0.001116, allocations: 182.9 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.802/1.802, 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.00122/0.00122, allocations: 98.78 kB / 270.2 MB, free: 13.36 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.2456/0.2456, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003618, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/0.6, allocations: 87.72 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.6003, allocations: 75.22 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.6154, allocations: 5.334 MB / 0.5698 GB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6154, allocations: 0 / 0.5698 GB, free: 7.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.6154, allocations: 0 / 0.5698 GB, free: 7.457 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007062/0.6161, allocations: 422.8 kB / 0.5702 GB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.6162, allocations: 8.031 kB / 0.5702 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.6163, allocations: 38.56 kB / 0.5702 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.6164, allocations: 7.906 kB / 0.5703 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.6168, allocations: 213.6 kB / 0.5705 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.6168, allocations: 11.92 kB / 0.5705 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.6168, allocations: 0 / 0.5705 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.617, allocations: 56.73 kB / 0.5705 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.617, allocations: 0 / 0.5705 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.617, allocations: 7.984 kB / 0.5705 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6171, allocations: 3.938 kB / 0.5705 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.167e-05/0.6172, allocations: 23.55 kB / 0.5706 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.6177, allocations: 294.4 kB / 0.5708 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.6179, allocations: 61.23 kB / 0.5709 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.6179, allocations: 0 / 0.5709 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.6181, allocations: 66.7 kB / 0.571 GB, free: 6.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6181, allocations: 0 / 0.571 GB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000686/0.6188, allocations: 177.2 kB / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.6189, allocations: 51.41 kB / 0.5712 GB, free: 5.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.6191, allocations: 166.3 kB / 0.5713 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.6191, allocations: 29.7 kB / 0.5714 GB, free: 5.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.6192, allocations: 110 kB / 0.5715 GB, free: 5.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.6192, allocations: 23.39 kB / 0.5715 GB, free: 5.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.6192, allocations: 4 kB / 0.5715 GB, free: 5.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6194, allocations: 318.3 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.6194, allocations: 19.19 kB / 0.5718 GB, free: 5.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.6195, allocations: 40.2 kB / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.6196, allocations: 23.3 kB / 0.5719 GB, free: 5.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6196, allocations: 0 / 0.5719 GB, free: 5.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.6198, allocations: 97.94 kB / 0.572 GB, free: 5.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.6198, allocations: 12 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6198, allocations: 0 / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6199, allocations: 3.984 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.6199, allocations: 12 kB / 0.572 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.62, allocations: 7.953 kB / 0.572 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.62, allocations: 0 / 0.572 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.62, allocations: 4 kB / 0.572 GB, free: 5.148 MB / 378.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 () * Number of clocked 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 0.0001037/0.6201, allocations: 133 kB / 0.5721 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.6202, allocations: 11.91 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.6204, allocations: 121.7 kB / 0.5723 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6205, allocations: 0 / 0.5723 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6205, allocations: 4 kB / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6205, allocations: 3.953 kB / 0.5723 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.6209, allocations: 410.4 kB / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.621, allocations: 3.984 kB / 0.5727 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.621, allocations: 12.41 kB / 0.5727 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.621, allocations: 7.938 kB / 0.5727 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.621, allocations: 3.625 kB / 0.5727 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.621, allocations: 7.953 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6211, allocations: 4 kB / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.6213, allocations: 212.7 kB / 0.5729 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.6214, allocations: 95.2 kB / 0.573 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.6215, allocations: 5.266 kB / 0.573 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.6216, allocations: 9.297 kB / 0.573 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.6216, allocations: 4.562 kB / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.6216, allocations: 0.5625 kB / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.6218, allocations: 135.9 kB / 0.5731 GB, free: 3.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6218, allocations: 0 / 0.5731 GB, free: 3.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.6221, allocations: 27.62 kB / 0.5732 GB, free: 3.953 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001715/0.6238, allocations: 1.213 MB / 0.5744 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.624, allocations: 65.83 kB / 0.5744 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.624, allocations: 0 / 0.5744 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.6241, allocations: 31.8 kB / 0.5744 GB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.6244, allocations: 22.67 kB / 0.5745 GB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.6257, allocations: 0.8434 MB / 0.5753 GB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.626, allocations: 0.7041 MB / 0.576 GB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.747e-05/0.6261, allocations: 16.66 kB / 0.576 GB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.6262, allocations: 32.36 kB / 0.576 GB, free: 1.109 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6262, allocations: 0 / 0.576 GB, free: 1.109 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.642, allocations: 2.926 MB / 0.5789 GB, free: 14.21 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6423, allocations: 213.7 kB / 0.5791 GB, free: 13.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.151, allocations: 3.938 kB / 0.5791 GB, free: 13.96 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat