Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008106/0.0008106, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0007925/0.0007925, allocations: 160.7 kB / 25.45 MB, free: 8.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8235/0.8235, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.833e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001719/0.001748, allocations: 1.458 MB / 301.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.00311, allocations: 0.8519 MB / 302 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.003163, allocations: 0 / 302 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.81e-05/0.003261, allocations: 11.92 kB / 302 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.003334, allocations: 23.8 kB / 302 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.003581, allocations: 51.81 kB / 302.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.003743, allocations: 127.7 kB / 302.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.003837, allocations: 20.22 kB / 302.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.004272, allocations: 0.5927 MB / 302.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.004384, allocations: 63.77 kB / 302.9 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.004416, allocations: 12 kB / 302.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.004439, allocations: 8 kB / 302.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.004508, allocations: 71.72 kB / 303 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.004577, allocations: 63.7 kB / 303 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.004841, allocations: 362.8 kB / 303.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004844, allocations: 0 / 303.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004845, allocations: 0 / 303.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.00485, allocations: 0 / 303.4 MB, free: 3.199 MB / 282.7 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.000544/0.005394, allocations: 0.663 MB / 304.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.00543, allocations: 11.98 kB / 304.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.005488, allocations: 40.7 kB / 304.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.005682, allocations: 224 kB / 304.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.005701, allocations: 8.312 kB / 304.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.005719, allocations: 8.375 kB / 304.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.005971, allocations: 241 kB / 304.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005979, allocations: 192 / 304.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.006244, allocations: 12.36 kB / 304.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.00625, allocations: 3.938 kB / 304.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.006376, allocations: 182.7 kB / 304.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.006801, allocations: 388.3 kB / 305.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.006945, allocations: 189.3 kB / 305.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.007057, allocations: 187.6 kB / 305.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.007067, allocations: 3.938 kB / 305.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.007332, allocations: 333.6 kB / 305.9 MB, free: 476 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.007333, allocations: 0 / 305.9 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006193/0.007953, allocations: 0.7009 MB / 306.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.008017, allocations: 174.1 kB / 306.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.00841, allocations: 0.513 MB / 307.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.008429, allocations: 29.7 kB / 307.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.008482, allocations: 101.1 kB / 307.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.008509, allocations: 27.8 kB / 307.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.008587, allocations: 89.5 kB / 307.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.008671, allocations: 322.8 kB / 307.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.008784, allocations: 174.8 kB / 308 MB, free: 14.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.008908, allocations: 197.6 kB / 308.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.009129, allocations: 355.2 kB / 308.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009131, allocations: 0 / 308.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003708/0.009502, allocations: 0.515 MB / 309 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.009569, allocations: 130.7 kB / 309.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009574, allocations: 0 / 309.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.009588, allocations: 0 / 309.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.918e-05/0.009607, allocations: 0 / 309.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009613, allocations: 4 kB / 309.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.359e-05/0.009707, allocations: 15.98 kB / 309.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.009756, allocations: 55.94 kB / 309.2 MB, free: 12.76 MB / 298.7 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.0002316/0.009987, allocations: 362.5 kB / 309.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.01003, allocations: 47.73 kB / 309.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.0101, allocations: 71.08 kB / 309.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0101, allocations: 0 / 309.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01011, allocations: 3.984 kB / 309.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01011, allocations: 0 / 309.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.01076, allocations: 0.8666 MB / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01077, allocations: 0 / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-06/0.01077, allocations: 0 / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01077, allocations: 3.938 kB / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.01079, allocations: 15.98 kB / 310.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.0108, allocations: 0 / 310.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0108, allocations: 4.188 kB / 310.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.01124, allocations: 0.6609 MB / 311.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.01174, allocations: 209.5 kB / 311.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.01178, allocations: 8 kB / 311.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.01186, allocations: 15.98 kB / 311.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.01196, allocations: 23.92 kB / 311.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.01201, allocations: 67.92 kB / 311.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.01229, allocations: 382.9 kB / 311.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01229, allocations: 3.938 kB / 311.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.01248, allocations: 47.94 kB / 312 MB, free: 9.805 MB / 298.7 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.0001012/0.01258, allocations: 122.2 kB / 312.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.01301, allocations: 0.6085 MB / 312.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01301, allocations: 0 / 312.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.01322, allocations: 428.3 kB / 313.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.01362, allocations: 124.6 kB / 313.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.01441, allocations: 0.8133 MB / 314.1 MB, free: 7.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.01457, allocations: 197.8 kB / 314.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.0146, allocations: 12.5 kB / 314.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0146, allocations: 0 / 314.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of Templates: time 0.003185/0.01778, allocations: 2.666 MB / 316.9 MB, free: 4.531 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.717922748066485]