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: 111.1 kB / 20.44 MB, free: 1.062 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.001425/0.001425, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.002457/0.002457, allocations: 51.91 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3402, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003535/0.3438, allocations: 1.487 MB / 433.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.3463, allocations: 0.8381 MB / 433.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3464, allocations: 3.938 kB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3465, allocations: 11.86 kB / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3467, allocations: 15.86 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3471, allocations: 51.88 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.3474, allocations: 135.8 kB / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3475, allocations: 12.17 kB / 434.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.3482, allocations: 0.5732 MB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3484, allocations: 83.61 kB / 434.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.3484, allocations: 8 kB / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.3485, allocations: 12 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3486, allocations: 59.77 kB / 434.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.3487, allocations: 79.36 kB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.3492, allocations: 384.6 kB / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3492, allocations: 0 / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3492, allocations: 0 / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.3492, allocations: 4 kB / 435.3 MB, free: 2.961 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.001099/0.3503, allocations: 0.6552 MB / 436 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3503, allocations: 12.03 kB / 436 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3505, allocations: 36.7 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.3509, allocations: 224.8 kB / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3509, allocations: 8.375 kB / 436.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3509, allocations: 8.375 kB / 436.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.3514, allocations: 244.7 kB / 436.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3514, allocations: 0 / 436.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3514, allocations: 4 kB / 436.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3514, allocations: 4 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.3517, allocations: 178.8 kB / 436.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.3524, allocations: 388.2 kB / 437 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.3527, allocations: 193.3 kB / 437.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.3529, allocations: 175.7 kB / 437.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.353, allocations: 4 kB / 437.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.3535, allocations: 337.5 kB / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.3535, allocations: 0 / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001096/0.3546, allocations: 0.7002 MB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.3547, allocations: 178.2 kB / 438.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.3554, allocations: 0.5052 MB / 439.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.3555, allocations: 33.7 kB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.3556, allocations: 101.1 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3556, allocations: 31.73 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3557, allocations: 81.55 kB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3559, allocations: 326.8 kB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.3561, allocations: 178.8 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3564, allocations: 196.4 kB / 440.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.3567, allocations: 351.4 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3567, allocations: 7.938 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006607/0.3574, allocations: 0.5069 MB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3575, allocations: 122.8 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3575, allocations: 0 / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3575, allocations: 3.984 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.567e-05/0.3576, allocations: 4.125 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3576, allocations: 0 / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3577, allocations: 12 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/0.3578, allocations: 63.92 kB / 441.1 MB, free: 12.54 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.0003747/0.3582, allocations: 374.4 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.3582, allocations: 39.77 kB / 441.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.3583, allocations: 63.09 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3583, allocations: 4 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3583, allocations: 0 / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3583, allocations: 0 / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3595, allocations: 0.8619 MB / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3595, allocations: 0 / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.3595, allocations: 0 / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3595, allocations: 3.938 kB / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.3596, allocations: 16 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3596, allocations: 4 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3596, allocations: 0 / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.3604, allocations: 0.6609 MB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.3608, allocations: 209.4 kB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3608, allocations: 4 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.361, allocations: 12 kB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3611, allocations: 23.97 kB / 443.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.3611, allocations: 56 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004937/0.3616, allocations: 390.9 kB / 443.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3616, allocations: 0 / 443.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.3619, allocations: 55.81 kB / 443.9 MB, free: 9.605 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.0001435/0.3621, allocations: 114 kB / 444 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.3628, allocations: 0.6124 MB / 444.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3628, allocations: 0 / 444.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.3632, allocations: 428.4 kB / 445 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.3638, allocations: 117.8 kB / 445.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.365, allocations: 0.777 MB / 445.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3653, allocations: 193.8 kB / 446.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.3653, allocations: 16.58 kB / 446.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.3654, allocations: 11.44 kB / 446.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3654, allocations: 0 / 446.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of Templates: time 0.009435/0.3748, allocations: 5.059 MB / 451.2 MB, free: 2.027 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/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.762225886806846]