Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.001769/0.001769, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001744/0.001744, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.25e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004238/0.004271, allocations: 1.492 MB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.00747, allocations: 0.8381 MB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.007537, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.007654, allocations: 11.86 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.007779, allocations: 23.8 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.008132, allocations: 47.88 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.008459, allocations: 139.7 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.008571, allocations: 12.22 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.009745, allocations: 0.5927 MB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.009963, allocations: 67.8 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.01002, allocations: 8 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.085e-05/0.01007, allocations: 16 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.01021, allocations: 67.66 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.01037, allocations: 55.78 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.01107, allocations: 378.8 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01108, allocations: 0 / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01108, allocations: 0 / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.01108, allocations: 0 / 276 MB, free: 14.07 MB / 266.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.001285/0.01237, allocations: 0.6552 MB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.01242, allocations: 8.031 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.01259, allocations: 48.7 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.01307, allocations: 220.1 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.01311, allocations: 8.375 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.01315, allocations: 8.375 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.01383, allocations: 245 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.01385, allocations: 4.188 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.01389, allocations: 384 / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.0139, allocations: 7.938 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.01434, allocations: 174.8 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01541, allocations: 392.2 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.0159, allocations: 189.4 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.01634, allocations: 187.6 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.01636, allocations: 7.938 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007959/0.01716, allocations: 321.5 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.01716, allocations: 0 / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001857/0.01902, allocations: 0.7242 MB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.01921, allocations: 170.2 kB / 279.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.02051, allocations: 0.5091 MB / 279.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.02057, allocations: 29.7 kB / 279.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.0207, allocations: 97.12 kB / 280 MB, free: 9.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.02079, allocations: 31.91 kB / 280 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.02101, allocations: 89.5 kB / 280.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.02128, allocations: 322.8 kB / 280.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.0217, allocations: 174.8 kB / 280.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.02215, allocations: 196.5 kB / 280.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.02294, allocations: 351.2 kB / 281.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.02294, allocations: 0 / 281.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001294/0.02423, allocations: 0.5146 MB / 281.7 MB, free: 7.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.02441, allocations: 130.8 kB / 281.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.02442, allocations: 128 / 281.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.02445, allocations: 12.03 kB / 281.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.02447, allocations: 0 / 281.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.02448, allocations: 0 / 281.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.02472, allocations: 11.98 kB / 281.8 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.02486, allocations: 55.94 kB / 281.9 MB, free: 7.633 MB / 266.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0007202/0.02558, allocations: 366.5 kB / 282.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.02572, allocations: 51.7 kB / 282.3 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.02591, allocations: 67.08 kB / 282.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02592, allocations: 0 / 282.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.02592, allocations: 3.938 kB / 282.3 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02593, allocations: 8 kB / 282.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.02801, allocations: 0.8705 MB / 283.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.02801, allocations: 0 / 283.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-06/0.02802, allocations: 4 kB / 283.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02802, allocations: 0 / 283.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.02807, allocations: 15.98 kB / 283.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.02808, allocations: 0 / 283.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02808, allocations: 0 / 283.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.02963, allocations: 0.6761 MB / 283.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.03034, allocations: 201.4 kB / 284.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.03045, allocations: 8 kB / 284.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.03072, allocations: 23.92 kB / 284.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.03089, allocations: 23.97 kB / 284.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.03101, allocations: 59.94 kB / 284.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009395/0.03195, allocations: 382.9 kB / 284.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.03195, allocations: 0 / 284.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.03251, allocations: 40 kB / 284.6 MB, free: 4.684 MB / 266.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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0002469/0.03275, allocations: 119.1 kB / 284.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.03402, allocations: 0.6163 MB / 285.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.03403, allocations: 8.062 kB / 285.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.0348, allocations: 420.4 kB / 285.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.03592, allocations: 133.4 kB / 285.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.03811, allocations: 0.786 MB / 286.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.03859, allocations: 193.7 kB / 286.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.926e-05/0.03865, allocations: 8.719 kB / 286.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.03869, allocations: 12.5 kB / 286.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03869, allocations: 4 kB / 286.9 MB, free: 2.152 MB / 266.7 MB Notification: Performance of Templates: time 0.01651/0.0552, allocations: 5.01 MB / 291.9 MB, free: 13.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.532569614006206]