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.001265/0.001265, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.001459/0.001459, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 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 1.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001587/0.001587, allocations: 43.92 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2387, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003061/0.2417, allocations: 1.526 MB / 433.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2439, allocations: 0.8965 MB / 434.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.2439, allocations: 4 kB / 434.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.244, allocations: 11.86 kB / 434.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.866e-05/0.2441, allocations: 19.86 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.2444, allocations: 51.88 kB / 434.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.2447, allocations: 127.8 kB / 435 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.2448, allocations: 16.22 kB / 435 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.2455, allocations: 0.5809 MB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2457, allocations: 71.77 kB / 435.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.2457, allocations: 11.98 kB / 435.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.2457, allocations: 12 kB / 435.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.2458, allocations: 71.64 kB / 435.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.246, allocations: 111.2 kB / 435.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.2464, allocations: 375.7 kB / 436.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2464, allocations: 3.938 kB / 436.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2464, allocations: 0 / 436.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2464, allocations: 0 / 436.3 MB, free: 3.039 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.0008818/0.2473, allocations: 0.6552 MB / 436.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2473, allocations: 8.031 kB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.355e-05/0.2474, allocations: 36.7 kB / 437 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.2477, allocations: 232.8 kB / 437.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2478, allocations: 4.375 kB / 437.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.2478, allocations: 16.36 kB / 437.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.2481, allocations: 133.8 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2481, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.2481, allocations: 4 kB / 437.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2481, allocations: 0 / 437.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2483, allocations: 55.97 kB / 437.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.249, allocations: 439.5 kB / 437.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2492, allocations: 74.53 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.2493, allocations: 60.89 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2493, allocations: 4 kB / 438 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.2497, allocations: 202.8 kB / 438.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2497, allocations: 0 / 438.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008471/0.2505, allocations: 482.3 kB / 438.6 MB, free: 484 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2506, allocations: 170.2 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.2514, allocations: 0.5091 MB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2514, allocations: 29.7 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.2515, allocations: 101.1 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2515, allocations: 31.78 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2516, allocations: 85.45 kB / 439.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2518, allocations: 326.8 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2519, allocations: 63.97 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.252, allocations: 69.67 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.2524, allocations: 343.3 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2524, allocations: 0 / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005625/0.253, allocations: 386.8 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.2531, allocations: 122.8 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2531, allocations: 0 / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2531, allocations: 4.031 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.103e-05/0.2531, allocations: 3.984 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2531, allocations: 4.109 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2533, allocations: 15.94 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.2533, allocations: 59.92 kB / 440.9 MB, free: 14 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.0003909/0.2537, allocations: 362.5 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.2538, allocations: 43.7 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.2539, allocations: 70.92 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2539, allocations: 8 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2539, allocations: 128 / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2539, allocations: 4 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2549, allocations: 0.7813 MB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2549, allocations: 0 / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-06/0.2549, allocations: 0 / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2549, allocations: 0 / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.255, allocations: 19.98 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.255, allocations: 0 / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.255, allocations: 3.938 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.2557, allocations: 0.5371 MB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.2561, allocations: 205.4 kB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.2561, allocations: 12 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2563, allocations: 11.98 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2564, allocations: 27.92 kB / 443 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.2564, allocations: 55.98 kB / 443 MB, free: 11.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004844/0.2569, allocations: 386.9 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2569, allocations: 4 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.2572, allocations: 47.94 kB / 443.5 MB, free: 11.3 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.0001418/0.2573, allocations: 115 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000545/0.2579, allocations: 373.5 kB / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2579, allocations: 0 / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.2582, allocations: 309.5 kB / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.2588, allocations: 124.3 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2599, allocations: 0.7017 MB / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.2604, allocations: 0.7944 MB / 445.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.2605, allocations: 19.36 kB / 445.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2605, allocations: 0 / 445.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of Templates: time 0.005195/0.2657, allocations: 2.656 MB / 448.5 MB, free: 6.02 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.016413690056652]