Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001481/0.001481, allocations: 177.6 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.605/1.605, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008191/0.0008193, allocations: 86.61 kB / 261.7 MB, free: 1.684 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.2196/0.2196, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.533e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4487/0.5741, allocations: 87.07 MB / 0.5511 GB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.5744, allocations: 77.19 kB / 0.5511 GB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.5924, allocations: 7.445 MB / 0.5584 GB, free: 1.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5925, allocations: 0 / 0.5584 GB, free: 1.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.5925, allocations: 4 kB / 0.5584 GB, free: 1.598 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005516/0.5931, allocations: 480 kB / 0.5589 GB, free: 1.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5932, allocations: 12.03 kB / 0.5589 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.5932, allocations: 31.09 kB / 0.5589 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.5936, allocations: 272.5 kB / 0.5592 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5937, allocations: 4 kB / 0.5592 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5937, allocations: 4 kB / 0.5592 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.888e-05/0.5938, allocations: 34.17 kB / 0.5592 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5939, allocations: 96.17 kB / 0.5593 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.594, allocations: 0 / 0.5593 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.594, allocations: 0 / 0.5593 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.594, allocations: 4 kB / 0.5593 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.5944, allocations: 428.7 kB / 0.5597 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.5946, allocations: 105.8 kB / 0.5598 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.5946, allocations: 32.59 kB / 0.5598 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.5947, allocations: 3.75 kB / 0.5599 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.5949, allocations: 117.5 kB / 0.56 GB, free: 15.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.5949, allocations: 0 / 0.56 GB, free: 15.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007139/0.5956, allocations: 299.4 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5956, allocations: 77.11 kB / 0.5603 GB, free: 15.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.596, allocations: 314.8 kB / 0.5606 GB, free: 15.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.596, allocations: 29.7 kB / 0.5607 GB, free: 15.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.5961, allocations: 136.3 kB / 0.5608 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.5962, allocations: 57.59 kB / 0.5608 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.5962, allocations: 0 / 0.5608 GB, free: 15.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5963, allocations: 336.8 kB / 0.5612 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.5964, allocations: 34.12 kB / 0.5612 GB, free: 14.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.664e-05/0.5965, allocations: 68.98 kB / 0.5613 GB, free: 14.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.5966, allocations: 39.17 kB / 0.5613 GB, free: 14.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5966, allocations: 4 kB / 0.5613 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002592/0.5969, allocations: 160.3 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5969, allocations: 4 kB / 0.5615 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.5969, allocations: 7.953 kB / 0.5615 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5969, allocations: 0 / 0.5615 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.5971, allocations: 35.23 kB / 0.5615 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5971, allocations: 3.938 kB / 0.5615 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.5972, allocations: 4 kB / 0.5615 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.5972, allocations: 12.06 kB / 0.5615 GB, free: 14.55 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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001301/0.5974, allocations: 116.3 kB / 0.5616 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002644/0.5976, allocations: 162.4 kB / 0.5618 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.5977, allocations: 35.52 kB / 0.5618 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.598, allocations: 194.4 kB / 0.562 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5981, allocations: 4 kB / 0.562 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5981, allocations: 384 / 0.562 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5981, allocations: 0 / 0.562 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/0.5988, allocations: 0.6229 MB / 0.5626 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5988, allocations: 0 / 0.5626 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.5989, allocations: 23.92 kB / 0.5626 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5989, allocations: 7.938 kB / 0.5626 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5989, allocations: 4 kB / 0.5626 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5989, allocations: 0 / 0.5626 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5989, allocations: 0 / 0.5626 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.5993, allocations: 401.4 kB / 0.563 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.5994, allocations: 112.6 kB / 0.5631 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.5994, allocations: 10.94 kB / 0.5631 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5996, allocations: 7.984 kB / 0.5632 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.5997, allocations: 15.94 kB / 0.5632 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5997, allocations: 7.188 kB / 0.5632 GB, free: 12.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002392/0.5999, allocations: 248.8 kB / 0.5634 GB, free: 12.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5999, allocations: 0 / 0.5634 GB, free: 12.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.6003, allocations: 47.31 kB / 0.5635 GB, free: 12.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001466/0.6018, allocations: 1.422 MB / 0.5648 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.602, allocations: 109.2 kB / 0.5649 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.602, allocations: 0 / 0.5649 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.6021, allocations: 58 kB / 0.565 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.6025, allocations: 47.58 kB / 0.5651 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.6033, allocations: 417.1 kB / 0.5654 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.6037, allocations: 0.7668 MB / 0.5662 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.56e-05/0.6038, allocations: 41.95 kB / 0.5662 GB, free: 9.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6039, allocations: 76.03 kB / 0.5663 GB, free: 9.879 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6039, allocations: 4 kB / 0.5663 GB, free: 9.875 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.6293, allocations: 4.694 MB / 0.5709 GB, free: 5.191 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.6296, allocations: 164.9 kB / 0.5711 GB, free: 4.996 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.389, allocations: 0 / 0.5711 GB, free: 4.996 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat