Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 164.5 kB / 24.82 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9473/0.9473, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.601e-05, allocations: 6.25 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00301/0.003046, allocations: 1.516 MB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.005091, allocations: 0.8575 MB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.005177, allocations: 7.938 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.599e-05/0.005273, allocations: 11.92 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.331e-05/0.005366, allocations: 11.88 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.005641, allocations: 51.88 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.005841, allocations: 123.7 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.005943, allocations: 28.14 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006665/0.006609, allocations: 0.5927 MB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.006752, allocations: 67.75 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.006793, allocations: 8 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.006825, allocations: 12 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.006915, allocations: 63.77 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.006994, allocations: 55.8 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.007291, allocations: 290.8 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.007295, allocations: 0 / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007296, allocations: 0 / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.007302, allocations: 0 / 277.1 MB, free: 13.57 MB / 266.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.0007823/0.008084, allocations: 0.7901 MB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.008123, allocations: 12.03 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.008205, allocations: 44.7 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.008422, allocations: 215 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.008444, allocations: 4.375 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.008468, allocations: 12.38 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.008771, allocations: 245.6 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.008779, allocations: 192 / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.008797, allocations: 4.375 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.008805, allocations: 7.938 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.008925, allocations: 154.7 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.009455, allocations: 408 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.009618, allocations: 185.8 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.009734, allocations: 166.5 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.009742, allocations: 4 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.009984, allocations: 311 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.009986, allocations: 0 / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006541/0.01064, allocations: 0.6648 MB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.01072, allocations: 166.2 kB / 280.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.01131, allocations: 0.51 MB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.01133, allocations: 29.7 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.0114, allocations: 151.8 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.01144, allocations: 27.78 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01155, allocations: 95.14 kB / 281.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01168, allocations: 0.4923 MB / 281.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.0118, allocations: 154.8 kB / 281.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01192, allocations: 178.1 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.01214, allocations: 317 kB / 282.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01214, allocations: 4 kB / 282.4 MB, free: 7.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004517/0.01259, allocations: 475.1 kB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.01267, allocations: 126.8 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.01267, allocations: 4.031 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01268, allocations: 0 / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-05/0.0127, allocations: 4 kB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01271, allocations: 3.938 kB / 283 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01282, allocations: 12 kB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.01288, allocations: 63.91 kB / 283 MB, free: 6.953 MB / 266.7 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.0003036/0.01319, allocations: 385.3 kB / 283.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.01325, allocations: 51.81 kB / 283.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.01336, allocations: 63 kB / 283.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01336, allocations: 8 kB / 283.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01336, allocations: 0 / 283.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01337, allocations: 0 / 283.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.01421, allocations: 0.847 MB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01422, allocations: 0 / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.01422, allocations: 3.938 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01423, allocations: 0 / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.01425, allocations: 19.98 kB / 284.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01425, allocations: 0 / 284.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01425, allocations: 4 kB / 284.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.01483, allocations: 0.6741 MB / 285.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.01514, allocations: 189.3 kB / 285.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.01518, allocations: 15.94 kB / 285.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.0153, allocations: 15.97 kB / 285.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.01537, allocations: 19.98 kB / 285.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.01543, allocations: 55.98 kB / 285.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003638/0.01579, allocations: 306.9 kB / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01579, allocations: 0 / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.01609, allocations: 40 kB / 285.7 MB, free: 4.102 MB / 266.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,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.0001294/0.01622, allocations: 111 kB / 285.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.01663, allocations: 0.577 MB / 286.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01664, allocations: 0 / 286.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.01687, allocations: 419.9 kB / 286.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.01738, allocations: 124.7 kB / 286.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.01847, allocations: 0.745 MB / 287.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.01856, allocations: 100.1 kB / 287.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.295e-05/0.0186, allocations: 4.734 kB / 287.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.01895, allocations: 198.1 kB / 288 MB, free: 1.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01895, allocations: 0 / 288 MB, free: 1.59 MB / 266.7 MB Notification: Performance of Templates: time 0.008014/0.02697, allocations: 4.748 MB / 292.7 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6483962601050735]