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.0009064/0.0009064, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005657/0.005657, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8432/0.8432, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.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.723e-06/1.723e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.974e-05, allocations: 11.06 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001708/0.001738, allocations: 1.486 MB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.002979, allocations: 0.838 MB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.003021, allocations: 3.938 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.928e-05/0.003101, allocations: 15.86 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.003164, allocations: 11.88 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.003381, allocations: 51.88 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.003534, allocations: 127.7 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.003623, allocations: 28.14 kB / 328.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.004019, allocations: 0.5889 MB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.004115, allocations: 63.75 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.004144, allocations: 12 kB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.004164, allocations: 8 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.00424, allocations: 67.72 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.004305, allocations: 55.78 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.00457, allocations: 386.6 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004572, allocations: 4 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004573, allocations: 0 / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004577, allocations: 4 kB / 329.5 MB, free: 11.61 MB / 298.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.0005336/0.005111, allocations: 0.6436 MB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005144, allocations: 15.98 kB / 330.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.0052, allocations: 36.7 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.00539, allocations: 224 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.005406, allocations: 8.375 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.005423, allocations: 8.375 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.005674, allocations: 241 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005682, allocations: 192 / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.0057, allocations: 12.38 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005708, allocations: 11.92 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.005896, allocations: 174.8 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.006378, allocations: 392.2 kB / 331.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.006527, allocations: 193.3 kB / 331.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.006637, allocations: 179.7 kB / 331.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.006648, allocations: 3.938 kB / 331.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.006898, allocations: 333.4 kB / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.006899, allocations: 0 / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006936/0.007593, allocations: 0.704 MB / 332.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.007653, allocations: 174.3 kB / 332.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.008025, allocations: 0.509 MB / 333.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.008046, allocations: 33.7 kB / 333.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.008093, allocations: 101.1 kB / 333.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.008121, allocations: 27.81 kB / 333.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.008188, allocations: 81.55 kB / 333.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.008258, allocations: 322.8 kB / 333.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.008366, allocations: 174.8 kB / 334.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.008477, allocations: 200.4 kB / 334.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.008674, allocations: 367.2 kB / 334.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008676, allocations: 0 / 334.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000337/0.009013, allocations: 0.5069 MB / 335.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.009064, allocations: 126.8 kB / 335.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.009068, allocations: 0 / 335.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009079, allocations: 0 / 335.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.751e-05/0.009097, allocations: 7.938 kB / 335.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.009101, allocations: 0 / 335.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.00918, allocations: 11.94 kB / 335.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.009224, allocations: 67.95 kB / 335.3 MB, free: 5.184 MB / 298.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.0001989/0.009423, allocations: 362.5 kB / 335.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.009451, allocations: 43.7 kB / 335.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.009515, allocations: 67.08 kB / 335.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009516, allocations: 0 / 335.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00952, allocations: 0 / 335.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009522, allocations: 0 / 335.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.01034, allocations: 0.866 MB / 336.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01035, allocations: 4.062 kB / 336.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-06/0.01035, allocations: 0 / 336.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01035, allocations: 4 kB / 336.7 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01037, allocations: 16 kB / 336.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01037, allocations: 3.984 kB / 336.7 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01037, allocations: 0 / 336.7 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.01076, allocations: 0.6608 MB / 337.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.01098, allocations: 213.4 kB / 337.6 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.01101, allocations: 12 kB / 337.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01108, allocations: 4 kB / 337.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.01116, allocations: 27.97 kB / 337.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.01119, allocations: 59.98 kB / 337.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.01146, allocations: 382.9 kB / 338 MB, free: 2.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01146, allocations: 4 kB / 338 MB, free: 2.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.01163, allocations: 51.94 kB / 338.1 MB, free: 2.242 MB / 298.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 8.461e-05/0.01172, allocations: 111 kB / 338.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.01209, allocations: 0.6046 MB / 338.8 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01209, allocations: 0 / 338.8 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.01228, allocations: 432.3 kB / 339.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01262, allocations: 127.6 kB / 339.3 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/0.01335, allocations: 0.8288 MB / 340.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.0135, allocations: 189.7 kB / 340.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.01352, allocations: 16.44 kB / 340.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01352, allocations: 0 / 340.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Templates: time 0.002942/0.01646, allocations: 2.66 MB / 343 MB, free: 12.97 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.639887256547809]