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.001283/0.001283, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001237/0.001237, allocations: 169 kB / 25.33 MB, free: 9.066 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 1.008/1.008, allocations: 158.6 MB / 187.2 MB, free: 2.914 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 2.315e-06/2.315e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.938e-05/4.17e-05, allocations: 2.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003717/0.003759, allocations: 1.513 MB / 252.6 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.006179, allocations: 0.874 MB / 253.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.006292, allocations: 0 / 253.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.006434, allocations: 3.938 kB / 253.4 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.006553, allocations: 27.73 kB / 253.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.006974, allocations: 51.88 kB / 253.5 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.007231, allocations: 131.7 kB / 253.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.007364, allocations: 16.22 kB / 253.7 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/0.008105, allocations: 0.5966 MB / 254.3 MB, free: 376 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.008293, allocations: 63.81 kB / 254.3 MB, free: 312 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.008343, allocations: 11.98 kB / 254.3 MB, free: 300 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.008387, allocations: 12 kB / 254.3 MB, free: 288 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.008491, allocations: 63.72 kB / 254.4 MB, free: 224 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.008607, allocations: 59.73 kB / 254.5 MB, free: 164 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.008996, allocations: 275 kB / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.009001, allocations: 4 kB / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.009003, allocations: 0 / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.009012, allocations: 0 / 254.7 MB, free: 15.89 MB / 250.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.0009825/0.009995, allocations: 0.7863 MB / 255.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.01005, allocations: 15.98 kB / 255.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.01017, allocations: 44.7 kB / 255.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.01049, allocations: 226.8 kB / 255.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.01053, allocations: 4.375 kB / 255.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.01056, allocations: 8.375 kB / 255.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.01136, allocations: 249.7 kB / 256.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01137, allocations: 192 / 256.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.0114, allocations: 12.36 kB / 256.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.01141, allocations: 7.922 kB / 256.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.0116, allocations: 170.8 kB / 256.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.01243, allocations: 499.3 kB / 256.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.01268, allocations: 185.8 kB / 256.9 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.01285, allocations: 178.5 kB / 257.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01286, allocations: 7.875 kB / 257.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.01317, allocations: 327.1 kB / 257.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/0.01318, allocations: 0 / 257.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008699/0.01405, allocations: 0.6776 MB / 258.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.01414, allocations: 174.1 kB / 258.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.01498, allocations: 0.6232 MB / 258.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.01502, allocations: 33.7 kB / 258.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.01511, allocations: 147.8 kB / 259.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.01515, allocations: 27.84 kB / 259.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.01528, allocations: 87.17 kB / 259.2 MB, free: 10.99 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.01544, allocations: 0.4962 MB / 259.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.01561, allocations: 166.8 kB / 259.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.01577, allocations: 190.1 kB / 260 MB, free: 10.08 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.01606, allocations: 343.2 kB / 260.4 MB, free: 9.688 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.01606, allocations: 3.938 kB / 260.4 MB, free: 9.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000571/0.01664, allocations: 495 kB / 260.8 MB, free: 9.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.01674, allocations: 126.8 kB / 261 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.01675, allocations: 0 / 261 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01677, allocations: 0 / 261 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.0168, allocations: 4.016 kB / 261 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01681, allocations: 4 kB / 261 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01695, allocations: 12 kB / 261 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.01702, allocations: 55.94 kB / 261 MB, free: 8.922 MB / 250.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.0003513/0.01737, allocations: 389.3 kB / 261.4 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.01745, allocations: 51.7 kB / 261.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.01755, allocations: 59.02 kB / 261.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01755, allocations: 3.984 kB / 261.5 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01755, allocations: 0 / 261.5 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.01756, allocations: 4 kB / 261.5 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.0186, allocations: 0.9518 MB / 262.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.0186, allocations: 0 / 262.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.01861, allocations: 0 / 262.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01862, allocations: 0 / 262.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.01864, allocations: 12 kB / 262.5 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01864, allocations: 0 / 262.5 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01865, allocations: 0 / 262.5 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.01961, allocations: 0.7107 MB / 263.2 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.01993, allocations: 185.3 kB / 263.4 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.01999, allocations: 16.06 kB / 263.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.02013, allocations: 11.98 kB / 263.4 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.02024, allocations: 27.97 kB / 263.4 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.157e-05/0.0203, allocations: 63.92 kB / 263.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005135/0.02081, allocations: 426.7 kB / 263.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02081, allocations: 0 / 263.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.02114, allocations: 47.94 kB / 264 MB, free: 5.797 MB / 250.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.0001453/0.02128, allocations: 114.2 kB / 264.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.02189, allocations: 0.5964 MB / 264.7 MB, free: 4.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02189, allocations: 0 / 264.7 MB, free: 4.977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.02219, allocations: 428.1 kB / 265.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.02281, allocations: 127.1 kB / 265.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009472/0.02376, allocations: 0.7478 MB / 266 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.02383, allocations: 99.25 kB / 266.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.201e-05/0.02387, allocations: 8.719 kB / 266.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.0239, allocations: 12.5 kB / 266.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.0239, allocations: 0 / 266.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of Templates: time 0.008294/0.0322, allocations: 5.237 MB / 271.3 MB, free: 14.1 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8214874188415706]