Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008978/0.0008979, allocations: 90.28 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.968e-05, allocations: 7.938 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 51.47 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4422, allocations: 83 MB / 485.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.4424, allocations: 68.91 kB / 485.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03106/0.4735, allocations: 16.81 MB / 0.4902 GB, free: 7.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4735, allocations: 2.062 kB / 0.4902 GB, free: 7.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.4735, allocations: 4 kB / 0.4902 GB, free: 7.449 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006206/0.4742, allocations: 0.6254 MB / 0.4908 GB, free: 6.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4742, allocations: 8.031 kB / 0.4908 GB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.4743, allocations: 38.56 kB / 0.4909 GB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.4744, allocations: 39.61 kB / 0.4909 GB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.4747, allocations: 257.4 kB / 0.4912 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.4747, allocations: 4 kB / 0.4912 GB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4747, allocations: 8 kB / 0.4912 GB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.475, allocations: 132.8 kB / 0.4913 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.475, allocations: 0 / 0.4913 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.475, allocations: 8 kB / 0.4913 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.475, allocations: 0 / 0.4913 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.4752, allocations: 55.98 kB / 0.4914 GB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.4759, allocations: 465.7 kB / 0.4918 GB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.476, allocations: 94.55 kB / 0.4919 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.4762, allocations: 84.91 kB / 0.492 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4762, allocations: 0 / 0.492 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.4765, allocations: 210.7 kB / 0.4922 GB, free: 5.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.4765, allocations: 0 / 0.4922 GB, free: 5.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006007/0.4771, allocations: 399.9 kB / 0.4926 GB, free: 4.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.4772, allocations: 174.2 kB / 0.4927 GB, free: 4.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.4778, allocations: 460 kB / 0.4932 GB, free: 4.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4778, allocations: 29.7 kB / 0.4932 GB, free: 4.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.4779, allocations: 97.14 kB / 0.4933 GB, free: 4.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.4779, allocations: 31.55 kB / 0.4933 GB, free: 4.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.478, allocations: 8 kB / 0.4933 GB, free: 4.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4781, allocations: 322.8 kB / 0.4936 GB, free: 3.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4782, allocations: 59.98 kB / 0.4937 GB, free: 3.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.4783, allocations: 51.98 kB / 0.4937 GB, free: 3.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.4785, allocations: 167.8 kB / 0.4939 GB, free: 3.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4785, allocations: 0 / 0.4939 GB, free: 3.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004808/0.479, allocations: 369.1 kB / 0.4943 GB, free: 3.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.631e-05/0.4791, allocations: 122.9 kB / 0.4944 GB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4791, allocations: 3.938 kB / 0.4944 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4791, allocations: 0 / 0.4944 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-05/0.4791, allocations: 7.984 kB / 0.4944 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4792, allocations: 0 / 0.4944 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4793, allocations: 20.55 kB / 0.4944 GB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.4794, allocations: 55.94 kB / 0.4945 GB, free: 2.773 MB / 362.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.0001612/0.4795, allocations: 246 kB / 0.4947 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.4796, allocations: 39.53 kB / 0.4947 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.4797, allocations: 71.41 kB / 0.4948 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4797, allocations: 0 / 0.4948 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4797, allocations: 4 kB / 0.4948 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4797, allocations: 0.5625 kB / 0.4948 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000898/0.4806, allocations: 0.7902 MB / 0.4956 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4807, allocations: 4 kB / 0.4956 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-06/0.4807, allocations: 3.938 kB / 0.4956 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4807, allocations: 0 / 0.4956 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.4807, allocations: 16 kB / 0.4956 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4807, allocations: 0.6562 kB / 0.4956 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4807, allocations: 3.984 kB / 0.4956 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.4814, allocations: 0.5096 MB / 0.4961 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.4817, allocations: 248.4 kB / 0.4963 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.4818, allocations: 15.98 kB / 0.4963 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.482, allocations: 8.188 kB / 0.4964 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4821, allocations: 27.97 kB / 0.4964 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.4822, allocations: 65.52 kB / 0.4964 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005128/0.4827, allocations: 392.9 kB / 0.4968 GB, free: 192 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4827, allocations: 0 / 0.4968 GB, free: 192 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.483, allocations: 44 kB / 0.4969 GB, free: 148 kB / 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: 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.000978/0.484, allocations: 1.072 MB / 0.4979 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.4845, allocations: 433.6 kB / 0.4983 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4845, allocations: 4 kB / 0.4983 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.4848, allocations: 373.5 kB / 0.4987 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.4853, allocations: 92.75 kB / 0.4988 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4865, allocations: 0.6068 MB / 0.4994 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.487, allocations: 0.8104 MB / 0.5002 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.487, allocations: 17.06 kB / 0.5002 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.4871, allocations: 27.44 kB / 0.5002 GB, free: 12.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4871, allocations: 0 / 0.5002 GB, free: 12.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.5043, allocations: 5.326 MB / 0.5054 GB, free: 7.273 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.5045, allocations: 162.8 kB / 0.5056 GB, free: 7.035 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.066, allocations: 3.75 kB / 0.5056 GB, free: 7.035 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat