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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.95 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 179.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 15.44 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09818, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001638/0.09986, allocations: 1.179 MB / 329.6 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1015, allocations: 0.8631 MB / 330.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1016, allocations: 0 / 330.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.628e-05/0.1017, allocations: 7.922 kB / 330.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.1018, allocations: 11.98 kB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1021, allocations: 39.83 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1022, allocations: 71.86 kB / 330.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1024, allocations: 20.2 kB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005527/0.1029, allocations: 423.2 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1031, allocations: 79.81 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1031, allocations: 4 kB / 331.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.621e-05/0.1031, allocations: 4 kB / 331.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1032, allocations: 55.83 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.1033, allocations: 73.52 kB / 331.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1036, allocations: 291.3 kB / 331.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1036, allocations: 0 / 331.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1036, allocations: 0 / 331.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1036, allocations: 0 / 331.5 MB, free: 0.8789 MB / 270.1 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.0006384/0.1043, allocations: 0.6685 MB / 332.2 MB, free: 140 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1043, allocations: 8.031 kB / 332.2 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.1044, allocations: 42.48 kB / 332.2 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1045, allocations: 35.62 kB / 332.3 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1048, allocations: 257.4 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.1048, allocations: 8 kB / 332.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1049, allocations: 8 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1052, allocations: 133.5 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1052, allocations: 0 / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.1053, allocations: 11.98 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1053, allocations: 0 / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1054, allocations: 55.97 kB / 332.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.1062, allocations: 464.5 kB / 333.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1063, allocations: 102.5 kB / 333.3 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.1064, allocations: 4 kB / 333.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.1067, allocations: 202.8 kB / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1067, allocations: 0 / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009147/0.1077, allocations: 0.6271 MB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.1078, allocations: 170.2 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.1085, allocations: 0.5168 MB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1085, allocations: 29.7 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.1086, allocations: 105 kB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1087, allocations: 31.64 kB / 335 MB, free: 13.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.1087, allocations: 4 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1089, allocations: 322.8 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.109, allocations: 59.91 kB / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1091, allocations: 69.69 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1093, allocations: 166.8 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1093, allocations: 4 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005663/0.1099, allocations: 388.3 kB / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/0.11, allocations: 126.8 kB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.11, allocations: 4 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.11, allocations: 0 / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-05/0.1101, allocations: 3.984 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1101, allocations: 4 kB / 336.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1102, allocations: 8.109 kB / 336.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.1103, allocations: 67.81 kB / 336.2 MB, free: 11.8 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 0 () * Number of clocked 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.0003276/0.1107, allocations: 366.8 kB / 336.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.1107, allocations: 39.53 kB / 336.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1108, allocations: 67.14 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1108, allocations: 0 / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1108, allocations: 0 / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1108, allocations: 0 / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.1118, allocations: 0.8212 MB / 337.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1118, allocations: 0 / 337.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-06/0.1118, allocations: 4 kB / 337.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1118, allocations: 0 / 337.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.1118, allocations: 15.98 kB / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1118, allocations: 0 / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1118, allocations: 0 / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.1125, allocations: 0.5372 MB / 338 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.1128, allocations: 240.5 kB / 338.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.1129, allocations: 15.94 kB / 338.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.113, allocations: 23.92 kB / 338.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1132, allocations: 23.97 kB / 338.3 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.1132, allocations: 60.06 kB / 338.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004927/0.1137, allocations: 382.9 kB / 338.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1137, allocations: 4 kB / 338.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.114, allocations: 47.95 kB / 338.8 MB, free: 9 MB / 286.1 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) * Number of clocked states: 0 () * 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.0009292/0.115, allocations: 1.092 MB / 339.9 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.1155, allocations: 437.5 kB / 340.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1155, allocations: 0 / 340.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.1158, allocations: 381.6 kB / 340.7 MB, free: 6.957 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1163, allocations: 93.44 kB / 340.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1185, allocations: 1.61 MB / 342.4 MB, free: 5.203 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.119, allocations: 0.8022 MB / 343.2 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.1191, allocations: 8.641 kB / 343.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.1191, allocations: 31.36 kB / 343.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1191, allocations: 0 / 343.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.1349, allocations: 5.286 MB / 348.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.1351, allocations: 183.2 kB / 348.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.905, allocations: 0 / 348.7 MB, free: 14.72 MB / 302.1 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) Environment - environmentSimulation: 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