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.001874/0.001874, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002306/0.002306, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001575/0.001575, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002862/0.2409, allocations: 1.491 MB / 433.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2429, allocations: 0.8304 MB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.243, allocations: 0 / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.511e-05/0.243, allocations: 15.86 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.2431, allocations: 15.88 kB / 434.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2434, allocations: 55.88 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.2437, allocations: 131.7 kB / 434.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2438, allocations: 16.22 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.2445, allocations: 0.5771 MB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2446, allocations: 79.67 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.2447, allocations: 12 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.2447, allocations: 11.94 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.2448, allocations: 63.77 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2449, allocations: 83.3 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.2453, allocations: 377.1 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2453, allocations: 4 kB / 436.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2453, allocations: 3.938 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2453, allocations: 0 / 436.1 MB, free: 2.988 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.0007677/0.2461, allocations: 0.6553 MB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2461, allocations: 8.031 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.2462, allocations: 40.7 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.2465, allocations: 216.8 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2465, allocations: 8.312 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.2466, allocations: 8.375 kB / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.247, allocations: 248.7 kB / 437.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.247, allocations: 0 / 437.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.247, allocations: 8 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.247, allocations: 4 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.2473, allocations: 174.8 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.248, allocations: 392.2 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.2482, allocations: 189.3 kB / 438 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.2484, allocations: 183.8 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2484, allocations: 3.938 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.2489, allocations: 329.5 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2489, allocations: 8 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001054/0.25, allocations: 0.6999 MB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2501, allocations: 166.2 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.2507, allocations: 0.5169 MB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.2508, allocations: 29.7 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2509, allocations: 105.1 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.251, allocations: 31.72 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2511, allocations: 81.56 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2513, allocations: 326.8 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2515, allocations: 174.8 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.2518, allocations: 199.1 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.2522, allocations: 355.3 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2522, allocations: 0 / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007636/0.253, allocations: 0.5069 MB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.2531, allocations: 126.8 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2531, allocations: 0 / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.2531, allocations: 4 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.708e-05/0.2532, allocations: 0 / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2532, allocations: 0 / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2533, allocations: 15.92 kB / 441.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.2534, allocations: 59.97 kB / 441.9 MB, free: 12.57 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.0005264/0.254, allocations: 370.6 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.254, allocations: 39.77 kB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.2542, allocations: 67.08 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2542, allocations: 0 / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2542, allocations: 0 / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2542, allocations: 0 / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.2555, allocations: 0.8658 MB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2555, allocations: 0 / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.2555, allocations: 4 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2555, allocations: 4 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.2555, allocations: 11.98 kB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.2555, allocations: 7.938 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2555, allocations: 0 / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.2564, allocations: 0.657 MB / 443.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.2568, allocations: 205.4 kB / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.2568, allocations: 12 kB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.257, allocations: 11.98 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.2571, allocations: 31.95 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.2572, allocations: 52 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005213/0.2577, allocations: 390.9 kB / 444.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2577, allocations: 0 / 444.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.258, allocations: 47.88 kB / 444.6 MB, free: 9.641 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.000146/0.2582, allocations: 115 kB / 444.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.2589, allocations: 0.6125 MB / 445.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2589, allocations: 4 kB / 445.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.2593, allocations: 424.4 kB / 445.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.2599, allocations: 108 kB / 445.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2611, allocations: 0.7771 MB / 446.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.2614, allocations: 193.7 kB / 446.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.2615, allocations: 8.656 kB / 446.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.2615, allocations: 11.44 kB / 446.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2615, allocations: 0 / 446.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of Templates: time 0.009408/0.2709, allocations: 5.083 MB / 451.9 MB, free: 2.047 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 -s gbode -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: 4.421603541995864]