Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",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.001317/0.001317, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001331/0.001331, allocations: 190 kB / 18.07 MB, free: 5.414 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.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001163/0.001163, allocations: 52.3 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1091, allocations: 46.63 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002786/0.112, allocations: 1.55 MB / 328.2 MB, free: 3.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1137, allocations: 0.9101 MB / 329.2 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.1137, allocations: 0 / 329.2 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.552e-05/0.1138, allocations: 7.922 kB / 329.2 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.1139, allocations: 19.84 kB / 329.2 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.1141, allocations: 39.97 kB / 329.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1142, allocations: 111.7 kB / 329.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1143, allocations: 28.2 kB / 329.4 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.1149, allocations: 0.5576 MB / 329.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.115, allocations: 63.77 kB / 330 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.115, allocations: 4 kB / 330 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.218e-05/0.1151, allocations: 4 kB / 330 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.1152, allocations: 67.7 kB / 330.1 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1153, allocations: 103.2 kB / 330.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.1156, allocations: 366.6 kB / 330.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1156, allocations: 0 / 330.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1156, allocations: 0 / 330.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1156, allocations: 4 kB / 330.5 MB, free: 0.9414 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.0006799/0.1163, allocations: 0.7308 MB / 331.2 MB, free: 140 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1163, allocations: 8.031 kB / 331.3 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1164, allocations: 38.73 kB / 331.3 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.1165, allocations: 36.56 kB / 331.3 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1167, allocations: 270.3 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1168, allocations: 4.375 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1168, allocations: 12.38 kB / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.1171, allocations: 133.7 kB / 331.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1171, allocations: 4 kB / 331.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.1171, allocations: 7.938 kB / 331.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1172, allocations: 0 / 331.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1173, allocations: 55.97 kB / 331.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.1179, allocations: 460.5 kB / 332.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1181, allocations: 106.5 kB / 332.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1182, allocations: 80.89 kB / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1183, allocations: 0 / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.1186, allocations: 206.5 kB / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1186, allocations: 0 / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000816/0.1194, allocations: 479.8 kB / 333.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.1196, allocations: 174.3 kB / 333.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.1202, allocations: 0.5207 MB / 333.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1202, allocations: 29.7 kB / 333.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.1203, allocations: 105 kB / 333.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1204, allocations: 31.64 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1205, allocations: 81.41 kB / 334 MB, free: 13.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1206, allocations: 326.8 kB / 334.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1208, allocations: 55.97 kB / 334.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1209, allocations: 73.69 kB / 334.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.1213, allocations: 355.3 kB / 334.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1213, allocations: 0 / 334.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005536/0.1218, allocations: 384.3 kB / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.13e-05/0.1219, allocations: 122.8 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.122, allocations: 0 / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.122, allocations: 4.109 kB / 335.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.122, allocations: 4 kB / 335.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.122, allocations: 12.02 kB / 335.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1222, allocations: 15.91 kB / 335.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.1223, allocations: 55.94 kB / 335.4 MB, free: 11.61 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003479/0.1226, allocations: 366.7 kB / 335.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.1227, allocations: 39.61 kB / 335.8 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.1228, allocations: 63.16 kB / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1228, allocations: 0 / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1228, allocations: 0 / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1229, allocations: 4 kB / 335.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.1239, allocations: 0.8173 MB / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1239, allocations: 0 / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-06/0.1239, allocations: 0 / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1239, allocations: 0 / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.1239, allocations: 19.98 kB / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.124, allocations: 0 / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.124, allocations: 3.938 kB / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.1246, allocations: 0.545 MB / 337.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.1249, allocations: 244.4 kB / 337.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.125, allocations: 12 kB / 337.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1251, allocations: 11.91 kB / 337.5 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.1253, allocations: 27.91 kB / 337.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.1254, allocations: 67.86 kB / 337.6 MB, free: 9.219 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004933/0.1259, allocations: 386.9 kB / 338 MB, free: 8.844 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1259, allocations: 0 / 338 MB, free: 8.844 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1262, allocations: 40 kB / 338 MB, free: 8.805 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/0.1273, allocations: 1.101 MB / 339.1 MB, free: 7.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005567/0.1279, allocations: 441.5 kB / 339.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1279, allocations: 0 / 339.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.1283, allocations: 377.6 kB / 339.9 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.1289, allocations: 109.5 kB / 340 MB, free: 6.645 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.1322, allocations: 2.807 MB / 342.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.1327, allocations: 0.8022 MB / 343.7 MB, free: 2.902 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.1328, allocations: 8.656 kB / 343.7 MB, free: 2.895 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.1329, allocations: 23.42 kB / 343.7 MB, free: 2.871 MB / 286.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1329, allocations: 0 / 343.7 MB, free: 2.871 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1494, allocations: 5.626 MB / 349.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.1496, allocations: 201.2 kB / 349.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.137, allocations: 0 / 349.5 MB, free: 12.85 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches