Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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) 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(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",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.001038/0.001038, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.474/1.474, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009006/0.0009008, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.269e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09129, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.404, allocations: 81.26 MB / 451.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4042, allocations: 70.66 kB / 451.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03188/0.4361, allocations: 16.52 MB / 468 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4362, allocations: 0 / 468 MB, free: 13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4362, allocations: 4 kB / 468 MB, free: 13 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006352/0.4369, allocations: 0.6252 MB / 468.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4369, allocations: 12.03 kB / 468.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.437, allocations: 42.5 kB / 468.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.437, allocations: 35.61 kB / 468.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4374, allocations: 257.4 kB / 468.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4374, allocations: 12 kB / 469 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4375, allocations: 8 kB / 469 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4377, allocations: 121.6 kB / 469.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4377, allocations: 0 / 469.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.4378, allocations: 8 kB / 469.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4378, allocations: 4 kB / 469.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4379, allocations: 55.98 kB / 469.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.4385, allocations: 472.4 kB / 469.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4387, allocations: 94.55 kB / 469.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4388, allocations: 81.02 kB / 469.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.4389, allocations: 7.938 kB / 469.8 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.4391, allocations: 202.6 kB / 470 MB, free: 10.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.4391, allocations: 4 kB / 470 MB, free: 10.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006222/0.4398, allocations: 400 kB / 470.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.4399, allocations: 170.2 kB / 470.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.4405, allocations: 458.5 kB / 471 MB, free: 9.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4405, allocations: 29.7 kB / 471 MB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.4406, allocations: 97.14 kB / 471.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.4406, allocations: 35.55 kB / 471.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.4406, allocations: 4 kB / 471.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4408, allocations: 326.8 kB / 471.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.4409, allocations: 55.98 kB / 471.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.441, allocations: 57.25 kB / 471.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4411, allocations: 166.6 kB / 471.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4411, allocations: 0 / 471.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004655/0.4416, allocations: 369 kB / 472.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.4417, allocations: 118.8 kB / 472.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.4417, allocations: 0 / 472.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4417, allocations: 7.938 kB / 472.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.894e-05/0.4418, allocations: 3.984 kB / 472.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4418, allocations: 4 kB / 472.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.4419, allocations: 11.95 kB / 472.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.442, allocations: 55.94 kB / 472.3 MB, free: 8.277 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0001823/0.4422, allocations: 253.9 kB / 472.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.4422, allocations: 35.53 kB / 472.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4423, allocations: 75.41 kB / 472.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4424, allocations: 0 / 472.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4424, allocations: 0 / 472.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4424, allocations: 4 kB / 472.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.4433, allocations: 0.7979 MB / 473.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4433, allocations: 128 / 473.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.4433, allocations: 4 kB / 473.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4433, allocations: 7.938 kB / 473.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4434, allocations: 12 kB / 473.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4434, allocations: 0 / 473.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4434, allocations: 7.984 kB / 473.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.444, allocations: 0.5057 MB / 474 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.4443, allocations: 248.4 kB / 474.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.4444, allocations: 15.98 kB / 474.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4445, allocations: 8 kB / 474.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4447, allocations: 31.91 kB / 474.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.4448, allocations: 59.92 kB / 474.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000467/0.4452, allocations: 388.9 kB / 474.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4452, allocations: 0 / 474.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.4455, allocations: 48 kB / 474.8 MB, free: 5.629 MB / 346.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.000992/0.4465, allocations: 1.069 MB / 475.8 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.447, allocations: 433.5 kB / 476.3 MB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.447, allocations: 4 kB / 476.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.4473, allocations: 369.6 kB / 476.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.4479, allocations: 101.7 kB / 476.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.449, allocations: 0.6028 MB / 477.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.4495, allocations: 0.8102 MB / 478.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.4495, allocations: 16.62 kB / 478.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.4496, allocations: 23.44 kB / 478.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4496, allocations: 0 / 478.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.4655, allocations: 5.345 MB / 483.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.4657, allocations: 157 kB / 483.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.98, allocations: 8.062 kB / 483.7 MB, free: 12.31 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat