Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001327/0.001327, 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.001549/0.001549, allocations: 214.8 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.91 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2308, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002728/0.2335, allocations: 1.487 MB / 433.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2356, allocations: 0.8381 MB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.2356, allocations: 3.938 kB / 434.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.483e-05/0.2357, allocations: 15.86 kB / 434.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.2358, allocations: 19.84 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.236, allocations: 55.88 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.2362, allocations: 123.8 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.2363, allocations: 16.17 kB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.237, allocations: 0.5771 MB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2371, allocations: 75.69 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.2371, allocations: 12 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.2372, allocations: 11.94 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.2373, allocations: 63.77 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2374, allocations: 87.28 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.2378, allocations: 373.2 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2378, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2378, allocations: 4 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.2378, allocations: 0 / 436.1 MB, free: 2.98 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.0008038/0.2386, allocations: 0.6591 MB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2386, allocations: 12.03 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.2387, allocations: 40.7 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.239, allocations: 216.8 kB / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.239, allocations: 4.375 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.239, allocations: 8.375 kB / 437 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.2394, allocations: 252.6 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2394, allocations: 0 / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.2395, allocations: 8 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2395, allocations: 0 / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.2397, allocations: 178.8 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.2404, allocations: 384.2 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2406, allocations: 189.4 kB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2408, allocations: 187.7 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.2408, allocations: 0 / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.2413, allocations: 333.6 kB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2413, allocations: 0 / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001023/0.2423, allocations: 0.7048 MB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2424, allocations: 162.2 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.2431, allocations: 0.5169 MB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2431, allocations: 29.7 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.2432, allocations: 105.1 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.2433, allocations: 35.83 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2434, allocations: 81.5 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2436, allocations: 326.8 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2438, allocations: 174.8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.244, allocations: 200.4 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.2444, allocations: 350.3 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2444, allocations: 0 / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006769/0.245, allocations: 0.5108 MB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.2451, allocations: 126.8 kB / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2452, allocations: 4 kB / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2452, allocations: 0 / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-05/0.2452, allocations: 4.125 kB / 441.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.2452, allocations: 0 / 441.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2453, allocations: 11.98 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.2454, allocations: 55.94 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003856/0.2458, allocations: 370.4 kB / 442.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.2458, allocations: 43.75 kB / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.246, allocations: 67.09 kB / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.246, allocations: 0 / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.246, allocations: 0 / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.246, allocations: 0 / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2471, allocations: 0.8627 MB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2471, allocations: 4 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-06/0.2471, allocations: 3.984 kB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2471, allocations: 0 / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.2471, allocations: 12 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2471, allocations: 0 / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2471, allocations: 0 / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.2479, allocations: 0.6675 MB / 443.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.2483, allocations: 205.4 kB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.2484, allocations: 12 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2485, allocations: 15.92 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2486, allocations: 27.97 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.2487, allocations: 52 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.2492, allocations: 386.9 kB / 444.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2492, allocations: 0 / 444.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.2495, allocations: 51.88 kB / 444.6 MB, free: 9.629 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001576/0.2496, allocations: 118 kB / 444.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.2503, allocations: 0.6085 MB / 445.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2503, allocations: 0 / 445.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.2507, allocations: 424.4 kB / 445.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2514, allocations: 111.9 kB / 445.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2526, allocations: 0.7693 MB / 446.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.2528, allocations: 189.8 kB / 446.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.2529, allocations: 20.58 kB / 446.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.2529, allocations: 19.38 kB / 446.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2529, allocations: 0 / 446.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of Templates: time 0.009021/0.262, allocations: 5.072 MB / 451.9 MB, free: 2.039 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.403298765988438]