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.001433/0.001433, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001574/0.001574, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001707/0.001707, allocations: 47.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003406/0.12, allocations: 1.527 MB / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1224, allocations: 0.881 MB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1224, allocations: 0 / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1225, allocations: 15.86 kB / 429.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.1226, allocations: 15.86 kB / 429.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1229, allocations: 55.88 kB / 429.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1231, allocations: 123.7 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1232, allocations: 12.22 kB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.1239, allocations: 0.581 MB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1241, allocations: 75.69 kB / 430.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.1241, allocations: 12 kB / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.1242, allocations: 8 kB / 430.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1243, allocations: 67.75 kB / 430.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1244, allocations: 119.1 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.1249, allocations: 374.4 kB / 430.7 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1249, allocations: 0 / 430.7 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1249, allocations: 4 kB / 430.7 MB, free: 424 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1249, allocations: 0 / 430.7 MB, free: 424 kB / 350.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.2237/0.3486, allocations: 0.7246 MB / 431.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3486, allocations: 9.062 kB / 431.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.3487, allocations: 39.3 kB / 431.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.349, allocations: 276.1 kB / 431.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.349, allocations: 5.281 kB / 431.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.349, allocations: 9.5 kB / 431.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.3494, allocations: 129.3 kB / 431.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3494, allocations: 3.766 kB / 431.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3494, allocations: 7.875 kB / 431.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3494, allocations: 0.875 kB / 431.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3496, allocations: 60.44 kB / 431.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.3502, allocations: 459.5 kB / 432.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3504, allocations: 76.72 kB / 432.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3505, allocations: 65.78 kB / 432.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.3505, allocations: 0.9375 kB / 432.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.3508, allocations: 213.8 kB / 432.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3508, allocations: 3.312 kB / 432.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008173/0.3516, allocations: 485.4 kB / 433.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3517, allocations: 167.4 kB / 433.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.3522, allocations: 0.5136 MB / 433.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3522, allocations: 28.77 kB / 433.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.3523, allocations: 106.6 kB / 434 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3523, allocations: 30 kB / 434 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3524, allocations: 81.89 kB / 434.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.3525, allocations: 331.8 kB / 434.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3526, allocations: 54.02 kB / 434.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.3528, allocations: 77.7 kB / 434.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.3531, allocations: 342 kB / 434.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3531, allocations: 3.75 kB / 434.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000554/0.3536, allocations: 400.1 kB / 435.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.3537, allocations: 124.3 kB / 435.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3537, allocations: 1.125 kB / 435.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3537, allocations: 0 / 435.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.247e-05/0.3537, allocations: 2.125 kB / 435.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3537, allocations: 0 / 435.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3539, allocations: 10.55 kB / 435.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.354, allocations: 60.14 kB / 435.5 MB, free: 9.285 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.0003084/0.3543, allocations: 367.1 kB / 435.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3543, allocations: 39.84 kB / 435.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-05/0.3544, allocations: 63.94 kB / 435.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3544, allocations: 1.969 kB / 435.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3544, allocations: 0 / 435.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3544, allocations: 0 / 435.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.3554, allocations: 0.8235 MB / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3554, allocations: 0 / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.3554, allocations: 3.031 kB / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3554, allocations: 0 / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.3554, allocations: 14.17 kB / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3554, allocations: 0.625 kB / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3554, allocations: 1.562 kB / 436.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.356, allocations: 0.551 MB / 437.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.3563, allocations: 248.2 kB / 437.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.3564, allocations: 10.44 kB / 437.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3565, allocations: 11.75 kB / 437.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3566, allocations: 24.34 kB / 437.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.3567, allocations: 64.19 kB / 437.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004394/0.3571, allocations: 389.5 kB / 438.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3571, allocations: 0 / 438.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.3574, allocations: 42.09 kB / 438.1 MB, free: 7.59 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.0001524/0.3576, allocations: 114.9 kB / 438.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.3581, allocations: 375 kB / 438.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3581, allocations: 3.938 kB / 438.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.3583, allocations: 306.2 kB / 438.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.359, allocations: 117 kB / 439 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.36, allocations: 0.6647 MB / 439.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3603, allocations: 0.7982 MB / 440.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.256e-05/0.3603, allocations: 10.28 kB / 440.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.3603, allocations: 11.66 kB / 440.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3603, allocations: 2.062 kB / 440.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of Templates: time 0.009814/0.3701, allocations: 4.687 MB / 445.2 MB, free: 5.266 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.895335629582405]