Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001002/0.001002, allocations: 178.3 kB / 8.005 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.562/1.562, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008174/0.0008173, allocations: 82.64 kB / 261.7 MB, free: 1.68 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.2034/0.2034, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.047e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5344, allocations: 86.79 MB / 0.5508 GB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5347, allocations: 75.09 kB / 0.5509 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.5469, allocations: 5.179 MB / 0.5559 GB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.547, allocations: 4 kB / 0.5559 GB, free: 3.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.547, allocations: 0 / 0.5559 GB, free: 3.902 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003545/0.5473, allocations: 389.9 kB / 0.5563 GB, free: 3.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5474, allocations: 12.03 kB / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.5474, allocations: 7.906 kB / 0.5563 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.5477, allocations: 222.1 kB / 0.5565 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5477, allocations: 0 / 0.5565 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5477, allocations: 0 / 0.5565 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.451e-05/0.5478, allocations: 15.88 kB / 0.5565 GB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.865e-05/0.5479, allocations: 49.48 kB / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.5479, allocations: 0 / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5479, allocations: 0 / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5479, allocations: 3.984 kB / 0.5566 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.5481, allocations: 161.6 kB / 0.5568 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.5482, allocations: 50 kB / 0.5568 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.5482, allocations: 20.73 kB / 0.5568 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.5482, allocations: 0 / 0.5568 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.5483, allocations: 62.61 kB / 0.5569 GB, free: 2.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5484, allocations: 0 / 0.5569 GB, free: 2.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001676/0.5485, allocations: 72.22 kB / 0.5569 GB, free: 2.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.5486, allocations: 51.41 kB / 0.557 GB, free: 2.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.5487, allocations: 174.7 kB / 0.5572 GB, free: 2.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.5487, allocations: 33.7 kB / 0.5572 GB, free: 2.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.5487, allocations: 94.89 kB / 0.5573 GB, free: 2.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.5488, allocations: 19.3 kB / 0.5573 GB, free: 2.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5488, allocations: 3.938 kB / 0.5573 GB, free: 2.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.5489, allocations: 322.1 kB / 0.5576 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.5489, allocations: 14.62 kB / 0.5576 GB, free: 2.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.5489, allocations: 21.59 kB / 0.5576 GB, free: 2.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.549, allocations: 24.67 kB / 0.5577 GB, free: 2.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.549, allocations: 0 / 0.5577 GB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.072e-05/0.5491, allocations: 80.86 kB / 0.5577 GB, free: 1.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5491, allocations: 4 kB / 0.5578 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5491, allocations: 0 / 0.5578 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5491, allocations: 4 kB / 0.5578 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.5492, allocations: 8 kB / 0.5578 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5492, allocations: 0 / 0.5578 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.5493, allocations: 11.92 kB / 0.5578 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.5493, allocations: 0 / 0.5578 GB, free: 1.934 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 (7): * Single equations (assignments): 7 * 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.172e-05/0.5494, allocations: 114 kB / 0.5579 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.462e-05/0.5495, allocations: 82.95 kB / 0.558 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.5495, allocations: 11.91 kB / 0.558 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.5496, allocations: 87.69 kB / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.5496, allocations: 0 / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5496, allocations: 0 / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5496, allocations: 0 / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.5497, allocations: 167.2 kB / 0.5582 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5497, allocations: 3.953 kB / 0.5582 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.5498, allocations: 8 kB / 0.5582 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5498, allocations: 0 / 0.5582 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5498, allocations: 2.688 kB / 0.5582 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5498, allocations: 4 kB / 0.5582 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5498, allocations: 0 / 0.5582 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.5499, allocations: 106.2 kB / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.55, allocations: 100.2 kB / 0.5584 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.55, allocations: 7.984 kB / 0.5584 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.55, allocations: 4 kB / 0.5584 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.5501, allocations: 4 kB / 0.5584 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.5501, allocations: 0 / 0.5584 GB, free: 1.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.913e-05/0.5502, allocations: 139.5 kB / 0.5586 GB, free: 1.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.5502, allocations: 0 / 0.5586 GB, free: 1.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.5504, allocations: 27.88 kB / 0.5586 GB, free: 1.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.000882/0.5513, allocations: 0.8929 MB / 0.5595 GB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.5514, allocations: 37.73 kB / 0.5595 GB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5514, allocations: 0 / 0.5595 GB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.5514, allocations: 23.06 kB / 0.5595 GB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.5517, allocations: 27.03 kB / 0.5596 GB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.5521, allocations: 188.1 kB / 0.5597 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5524, allocations: 0.7041 MB / 0.5604 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.5525, allocations: 12.44 kB / 0.5604 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.5526, allocations: 29.11 kB / 0.5605 GB, free: 15.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5526, allocations: 0 / 0.5605 GB, free: 15.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.5752, allocations: 2.365 MB / 0.5628 GB, free: 12.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.5755, allocations: 166.5 kB / 0.5629 GB, free: 12.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.039, allocations: 0 / 0.5629 GB, free: 12.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat