Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 184 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 96.33 kB / 292.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.41/0.41, allocations: 44.21 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3579, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4866, allocations: 89.56 MB / 0.5971 GB, free: 5.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4869, allocations: 79.92 kB / 0.5972 GB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.5089, allocations: 8.099 MB / 0.6051 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.5089, allocations: 0 / 0.6051 GB, free: 13.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.5089, allocations: 7.938 kB / 0.6051 GB, free: 13.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007886/0.5097, allocations: 0.5215 MB / 0.6056 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.5098, allocations: 12.03 kB / 0.6056 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.5099, allocations: 42.48 kB / 0.6057 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.5099, allocations: 23.72 kB / 0.6057 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.5104, allocations: 290.4 kB / 0.606 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5104, allocations: 4 kB / 0.606 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.5105, allocations: 11.98 kB / 0.606 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.5107, allocations: 107.3 kB / 0.6061 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5107, allocations: 3.906 kB / 0.6061 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.5107, allocations: 4 kB / 0.6061 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5108, allocations: 4 kB / 0.6061 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.5109, allocations: 55.89 kB / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.5116, allocations: 476.8 kB / 0.6066 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.512, allocations: 137.1 kB / 0.6067 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.512, allocations: 0 / 0.6067 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.5122, allocations: 118.4 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5123, allocations: 0 / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.00134/0.5136, allocations: 497 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.5137, allocations: 81.11 kB / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.514, allocations: 322.1 kB / 0.6077 GB, free: 10.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5141, allocations: 33.7 kB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.5142, allocations: 136.5 kB / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.5142, allocations: 74.98 kB / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.5143, allocations: 8 kB / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5144, allocations: 342.8 kB / 0.6083 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5145, allocations: 55.97 kB / 0.6083 GB, free: 9.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.5147, allocations: 93.8 kB / 0.6084 GB, free: 9.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5148, allocations: 72.03 kB / 0.6085 GB, free: 9.637 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5148, allocations: 4 kB / 0.6085 GB, free: 9.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003884/0.5152, allocations: 229.2 kB / 0.6087 GB, free: 9.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5153, allocations: 4 kB / 0.6087 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5153, allocations: 0 / 0.6087 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5153, allocations: 7.953 kB / 0.6087 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5155, allocations: 51.91 kB / 0.6088 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.5155, allocations: 4 kB / 0.6088 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.5156, allocations: 8 kB / 0.6088 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5156, allocations: 8.234 kB / 0.6088 GB, free: 9.32 MB / 426.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001651/0.5158, allocations: 170.3 kB / 0.6089 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.5158, allocations: 31.62 kB / 0.609 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.5164, allocations: 267.2 kB / 0.6092 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5164, allocations: 0 / 0.6092 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.5164, allocations: 11.94 kB / 0.6092 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5164, allocations: 0 / 0.6092 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5174, allocations: 0.77 MB / 0.61 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5174, allocations: 0 / 0.61 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.461e-05/0.5175, allocations: 35.98 kB / 0.61 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5175, allocations: 128 / 0.61 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5176, allocations: 12 kB / 0.61 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5176, allocations: 0 / 0.61 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5176, allocations: 7.938 kB / 0.61 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.5181, allocations: 487.5 kB / 0.6105 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5182, allocations: 120.7 kB / 0.6106 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.5183, allocations: 8 kB / 0.6106 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5184, allocations: 11.98 kB / 0.6106 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.5185, allocations: 23.92 kB / 0.6107 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.5185, allocations: 12 kB / 0.6107 GB, free: 7.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.5188, allocations: 261.9 kB / 0.6109 GB, free: 6.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5188, allocations: 3.938 kB / 0.6109 GB, free: 6.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.5192, allocations: 67.92 kB / 0.611 GB, free: 6.879 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001978/0.5212, allocations: 1.804 MB / 0.6128 GB, free: 5.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.5216, allocations: 167.7 kB / 0.6129 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5216, allocations: 0 / 0.6129 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.5217, allocations: 92.28 kB / 0.613 GB, free: 4.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.5221, allocations: 54.41 kB / 0.6131 GB, free: 4.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.5245, allocations: 1.929 MB / 0.6149 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5249, allocations: 0.768 MB / 0.6157 GB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.525, allocations: 49.84 kB / 0.6157 GB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.5252, allocations: 87.41 kB / 0.6158 GB, free: 1.992 MB / 426.7 MB Notification: Performance of SimCode: time 2.725e-06/0.5252, allocations: 0 / 0.6158 GB, free: 1.992 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.5447, allocations: 5.621 MB / 0.6213 GB, free: 12.53 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.5451, allocations: 220.4 kB / 0.6215 GB, free: 12.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.486, allocations: 0 / 0.6215 GB, free: 12.28 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat