Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001792/0.002954, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002739, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.146/1.146, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08766/1.233, allocations: 53.88 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.028e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00285/0.002871, allocations: 1.577 MB / 246.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004222, allocations: 0.9128 MB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.004271, allocations: 0 / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.525e-05/0.004347, allocations: 11.86 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.004406, allocations: 15.81 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.004579, allocations: 55.81 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.004737, allocations: 131.7 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.031e-05/0.004808, allocations: 16.22 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.005229, allocations: 0.5537 MB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.005333, allocations: 55.83 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.005369, allocations: 12 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.005392, allocations: 8 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.005453, allocations: 67.72 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.005508, allocations: 51.8 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.005716, allocations: 271 kB / 248.9 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.005726, allocations: 0 / 248.9 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005727, allocations: 0 / 248.9 MB, free: 9.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.005736, allocations: 0 / 248.9 MB, free: 9.793 MB / 250.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.0005178/0.006254, allocations: 0.6652 MB / 249.6 MB, free: 9.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.006285, allocations: 8.625 kB / 249.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.008394, allocations: 32.91 kB / 249.6 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.00872, allocations: 212.1 kB / 249.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.008753, allocations: 4.375 kB / 249.9 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.008788, allocations: 12.38 kB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.009183, allocations: 229.6 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.009192, allocations: 192 / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.009216, allocations: 8.375 kB / 250.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.009226, allocations: 11.88 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.009379, allocations: 154.8 kB / 250.3 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.009804, allocations: 212.2 kB / 250.5 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.009998, allocations: 177.3 kB / 250.6 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.01014, allocations: 155.7 kB / 250.8 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.01014, allocations: 4 kB / 250.8 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.01043, allocations: 301.4 kB / 251.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.01043, allocations: 0 / 251.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005467/0.01098, allocations: 0.537 MB / 251.6 MB, free: 6.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.01107, allocations: 174.3 kB / 251.8 MB, free: 6.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.01146, allocations: 367.1 kB / 252.2 MB, free: 6.184 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.01148, allocations: 29.7 kB / 252.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.01152, allocations: 97.06 kB / 252.3 MB, free: 6.051 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.01156, allocations: 39.7 kB / 252.3 MB, free: 6.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.01163, allocations: 69.5 kB / 252.4 MB, free: 5.938 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.0117, allocations: 322.8 kB / 252.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.01179, allocations: 150.8 kB / 252.8 MB, free: 5.441 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.01187, allocations: 168.5 kB / 253 MB, free: 5.246 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.01204, allocations: 335.2 kB / 253.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01204, allocations: 0 / 253.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002228/0.01226, allocations: 367.2 kB / 253.7 MB, free: 4.453 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.01233, allocations: 126.7 kB / 253.8 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01234, allocations: 4 kB / 253.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01235, allocations: 0 / 253.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.01237, allocations: 0 / 253.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.01237, allocations: 0 / 253.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.01245, allocations: 8 kB / 253.8 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.0125, allocations: 63.95 kB / 253.9 MB, free: 4.23 MB / 250.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.000228/0.01273, allocations: 345.3 kB / 254.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.01276, allocations: 35.91 kB / 254.3 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.01284, allocations: 59.08 kB / 254.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01284, allocations: 0 / 254.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01284, allocations: 0 / 254.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01284, allocations: 0 / 254.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.01324, allocations: 0.5978 MB / 254.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01324, allocations: 0 / 254.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.01324, allocations: 192 / 254.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.01341, allocations: 147.4 kB / 255.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01342, allocations: 0 / 255.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01343, allocations: 12 kB / 255.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01343, allocations: 0 / 255.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01343, allocations: 0 / 255.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.01369, allocations: 0.5009 MB / 255.6 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.01372, allocations: 8 kB / 255.6 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.0138, allocations: 15.98 kB / 255.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.01385, allocations: 15.97 kB / 255.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.01389, allocations: 55.94 kB / 255.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.01403, allocations: 164.5 kB / 255.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01403, allocations: 0 / 255.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.01419, allocations: 44 kB / 255.9 MB, free: 2.074 MB / 250.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.0001003/0.01429, allocations: 96.11 kB / 256 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.01461, allocations: 0.5625 MB / 256.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.01461, allocations: 4 kB / 256.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.0148, allocations: 416 kB / 256.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.01517, allocations: 346.4 kB / 257.3 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/0.01601, allocations: 0.7613 MB / 258 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.005e-05/0.01608, allocations: 95.27 kB / 258.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.01611, allocations: 4.719 kB / 258.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.01636, allocations: 175.2 kB / 258.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01636, allocations: 0 / 258.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005535/0.0219, allocations: 4.654 MB / 263 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6995934545993805]