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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 160.2 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] 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=5014,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=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 48.3 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09306, allocations: 52.17 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002869/0.09593, allocations: 1.471 MB / 373 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.09787, allocations: 0.8088 MB / 373.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.09791, allocations: 0 / 373.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.57e-05/0.09801, allocations: 11.92 kB / 373.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.436e-05/0.0981, allocations: 19.86 kB / 373.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.09836, allocations: 51.88 kB / 373.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.09859, allocations: 131.7 kB / 374.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.09869, allocations: 20.2 kB / 374.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.09935, allocations: 0.5732 MB / 374.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.0995, allocations: 71.69 kB / 374.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.09955, allocations: 12 kB / 374.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.09959, allocations: 8 kB / 374.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.09969, allocations: 71.69 kB / 374.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.0998, allocations: 79.36 kB / 374.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1002, allocations: 382.3 kB / 375.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1002, allocations: 0 / 375.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1002, allocations: 4 kB / 375.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1002, allocations: 4 kB / 375.3 MB, free: 3.617 MB / 334.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.000789/0.101, allocations: 0.6591 MB / 375.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1011, allocations: 8.922 kB / 375.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.1011, allocations: 40.7 kB / 376 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1014, allocations: 216.9 kB / 376.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1015, allocations: 4.375 kB / 376.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.1015, allocations: 8.375 kB / 376.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.102, allocations: 244.7 kB / 376.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.102, allocations: 0 / 376.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.102, allocations: 8 kB / 376.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.102, allocations: 4 kB / 376.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.1022, allocations: 182.7 kB / 376.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.1029, allocations: 388.2 kB / 377 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1032, allocations: 193.3 kB / 377.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.1034, allocations: 187.7 kB / 377.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1034, allocations: 0 / 377.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.1039, allocations: 333.2 kB / 377.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1039, allocations: 0 / 377.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001045/0.1049, allocations: 0.7127 MB / 378.4 MB, free: 116 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1051, allocations: 170.2 kB / 378.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.1057, allocations: 0.5129 MB / 379.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.1058, allocations: 29.7 kB / 379.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.1059, allocations: 97.12 kB / 379.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1059, allocations: 27.81 kB / 379.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.106, allocations: 89.55 kB / 379.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1062, allocations: 322.8 kB / 379.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1064, allocations: 178.7 kB / 379.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1066, allocations: 192.5 kB / 380 MB, free: 14.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.1072, allocations: 363.2 kB / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1072, allocations: 0 / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007747/0.108, allocations: 0.5069 MB / 380.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1081, allocations: 126.8 kB / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1081, allocations: 0 / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1081, allocations: 4 kB / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.9e-05/0.1081, allocations: 0 / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1081, allocations: 0 / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1083, allocations: 11.94 kB / 381 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.1083, allocations: 63.92 kB / 381.1 MB, free: 13.19 MB / 350.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.0003829/0.1087, allocations: 374.5 kB / 381.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.1088, allocations: 39.77 kB / 381.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1089, allocations: 63.09 kB / 381.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1089, allocations: 0 / 381.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1089, allocations: 4 kB / 381.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1089, allocations: 0 / 381.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1101, allocations: 0.8743 MB / 382.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1101, allocations: 4 kB / 382.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-06/0.1101, allocations: 0 / 382.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1101, allocations: 0 / 382.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.1101, allocations: 16 kB / 382.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1101, allocations: 4.172 kB / 382.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1101, allocations: 4 kB / 382.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.111, allocations: 0.6638 MB / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.1114, allocations: 201.4 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.1115, allocations: 12 kB / 383.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1116, allocations: 8 kB / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1117, allocations: 27.97 kB / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.1118, allocations: 59.92 kB / 383.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000537/0.1123, allocations: 386.9 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1123, allocations: 4 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1126, allocations: 43.94 kB / 383.8 MB, free: 10.24 MB / 350.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.0001467/0.1128, allocations: 111 kB / 383.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007346/0.1135, allocations: 0.6163 MB / 384.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1135, allocations: 0 / 384.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004876/0.114, allocations: 432.3 kB / 385 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.1147, allocations: 122 kB / 385.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1162, allocations: 0.7848 MB / 385.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1164, allocations: 189.7 kB / 386.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.1164, allocations: 12.7 kB / 386.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.1165, allocations: 12.5 kB / 386.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1165, allocations: 0 / 386.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of Templates: time 0.009371/0.1258, allocations: 5.012 MB / 391.1 MB, free: 2.699 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.240971424034797]