Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009319, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001024/0.001024, allocations: 184.3 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 9.625 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 50.42 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001788/0.1158, allocations: 1.208 MB / 353 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1177, allocations: 0.8624 MB / 353.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.1178, allocations: 4 kB / 353.9 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.445e-05/0.1179, allocations: 7.922 kB / 353.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.118, allocations: 15.92 kB / 353.9 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1183, allocations: 43.91 kB / 354 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1184, allocations: 111.7 kB / 354.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1185, allocations: 16.22 kB / 354.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.1193, allocations: 0.5537 MB / 354.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1194, allocations: 67.7 kB / 354.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.1194, allocations: 4 kB / 354.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.1195, allocations: 4 kB / 354.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.1196, allocations: 59.77 kB / 354.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.1197, allocations: 140.8 kB / 354.9 MB, free: 356 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1201, allocations: 358.7 kB / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1201, allocations: 0 / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1201, allocations: 0 / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1201, allocations: 0 / 355.3 MB, free: 15.99 MB / 302.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.0007311/0.1208, allocations: 0.6492 MB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1209, allocations: 12.03 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.121, allocations: 40.47 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1213, allocations: 278.2 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.1213, allocations: 8.359 kB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1214, allocations: 8.375 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1217, allocations: 145.9 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1217, allocations: 0 / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1217, allocations: 4 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1218, allocations: 0 / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1219, allocations: 59.97 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.1226, allocations: 460.5 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1228, allocations: 90.55 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.123, allocations: 84.89 kB / 357.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.123, allocations: 4 kB / 357.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.1234, allocations: 215 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.1234, allocations: 0 / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008292/0.1242, allocations: 479.9 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1244, allocations: 162.2 kB / 357.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.125, allocations: 0.513 MB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.125, allocations: 29.7 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.1251, allocations: 109.1 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.1252, allocations: 43.45 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.1252, allocations: 21.72 kB / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1253, allocations: 330.8 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1255, allocations: 55.97 kB / 359 MB, free: 11.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1256, allocations: 73.67 kB / 359.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1259, allocations: 347 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.126, allocations: 4 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005397/0.1265, allocations: 384.3 kB / 359.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.1266, allocations: 130.8 kB / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1266, allocations: 0 / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1266, allocations: 0 / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.1267, allocations: 0 / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1267, allocations: 4 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1268, allocations: 11.94 kB / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.1269, allocations: 59.92 kB / 360 MB, free: 10.84 MB / 302.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.0003323/0.1273, allocations: 370.8 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.1273, allocations: 39.53 kB / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1275, allocations: 63.16 kB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1275, allocations: 0 / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1275, allocations: 0 / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1275, allocations: 0 / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.1284, allocations: 0.8173 MB / 361.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1285, allocations: 0 / 361.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-06/0.1285, allocations: 7.938 kB / 361.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1285, allocations: 0 / 361.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1285, allocations: 15.98 kB / 361.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1285, allocations: 0 / 361.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.1285, allocations: 7.922 kB / 361.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.1292, allocations: 0.5368 MB / 361.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.1295, allocations: 244.5 kB / 362.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.1295, allocations: 8 kB / 362.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1297, allocations: 20.23 kB / 362.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.1298, allocations: 31.91 kB / 362.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.1299, allocations: 56 kB / 362.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004551/0.1303, allocations: 382.9 kB / 362.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1303, allocations: 0 / 362.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1306, allocations: 59.78 kB / 362.6 MB, free: 8.027 MB / 302.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.0001371/0.1308, allocations: 126.8 kB / 362.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1313, allocations: 433.5 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1313, allocations: 0 / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.1316, allocations: 377.6 kB / 363.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.1323, allocations: 109.4 kB / 363.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1334, allocations: 0.7623 MB / 364.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1338, allocations: 0.7986 MB / 365.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1339, allocations: 12.64 kB / 365.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.1339, allocations: 15.44 kB / 365.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1339, allocations: 0 / 365.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Templates: time 0.007413/0.1413, allocations: 4.131 MB / 369.4 MB, free: 1.07 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches