Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9336/0.9336, allocations: 177 MB / 204.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.397e-05, allocations: 4.984 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001844/0.001868, allocations: 1.533 MB / 274.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003269, allocations: 0.8575 MB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.003325, allocations: 3.938 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.003416, allocations: 7.922 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.003493, allocations: 23.84 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.003746, allocations: 51.88 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.003904, allocations: 127.7 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.003992, allocations: 24.14 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.004459, allocations: 0.5927 MB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004578, allocations: 67.75 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.004613, allocations: 12 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/0.004638, allocations: 8 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.004713, allocations: 67.77 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.00479, allocations: 51.8 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.005047, allocations: 286.8 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00505, allocations: 0 / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.005052, allocations: 4 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005057, allocations: 0 / 276.6 MB, free: 13.7 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.0006085/0.005665, allocations: 0.7863 MB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.005702, allocations: 11.98 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.005775, allocations: 44.7 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.005989, allocations: 222.9 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.006012, allocations: 4.375 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.006035, allocations: 8.375 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.006333, allocations: 245.7 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006344, allocations: 192 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.006506, allocations: 16.23 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.006515, allocations: 3.938 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.006626, allocations: 170.8 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.007186, allocations: 0.4915 MB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.007344, allocations: 189.8 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.007456, allocations: 174.5 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.007466, allocations: 3.938 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.007705, allocations: 319.2 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.007707, allocations: 0 / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006161/0.008323, allocations: 0.6931 MB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.008388, allocations: 170.2 kB / 280.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.008932, allocations: 0.6232 MB / 280.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.008954, allocations: 33.69 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.009013, allocations: 143.8 kB / 280.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.009042, allocations: 31.78 kB / 281 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.009125, allocations: 91.17 kB / 281 MB, free: 8.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.009243, allocations: 0.4923 MB / 281.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.009356, allocations: 166.8 kB / 281.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.009468, allocations: 186.1 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.009668, allocations: 340.6 kB / 282.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00967, allocations: 0 / 282.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003709/0.01004, allocations: 499 kB / 282.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.01011, allocations: 125.9 kB / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01011, allocations: 0 / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01013, allocations: 0 / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.01015, allocations: 128 / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.01016, allocations: 8 kB / 282.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.01026, allocations: 15.92 kB / 282.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.01031, allocations: 64.08 kB / 282.9 MB, free: 6.738 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.0002356/0.01055, allocations: 401.1 kB / 283.3 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.01059, allocations: 51.7 kB / 283.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.01066, allocations: 51.09 kB / 283.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01067, allocations: 0 / 283.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01067, allocations: 4 kB / 283.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01068, allocations: 0 / 283.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.01137, allocations: 0.9556 MB / 284.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01138, allocations: 0 / 284.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-06/0.01138, allocations: 4 kB / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01138, allocations: 0 / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.0114, allocations: 16 kB / 284.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.0114, allocations: 0 / 284.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01141, allocations: 0 / 284.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.01198, allocations: 0.7043 MB / 285.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.01221, allocations: 185.4 kB / 285.3 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.01225, allocations: 12 kB / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.01234, allocations: 11.98 kB / 285.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.01245, allocations: 23.97 kB / 285.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.01249, allocations: 59.94 kB / 285.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003725/0.01287, allocations: 430.7 kB / 285.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01287, allocations: 0 / 285.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.01309, allocations: 44 kB / 285.8 MB, free: 3.621 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.00014/0.01323, allocations: 119.1 kB / 285.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.01363, allocations: 0.5965 MB / 286.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01363, allocations: 0 / 286.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.01382, allocations: 424 kB / 287 MB, free: 2.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.0142, allocations: 142.3 kB / 287.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.01492, allocations: 0.7486 MB / 287.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/0.015, allocations: 95.27 kB / 287.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.01504, allocations: 8.719 kB / 287.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.01507, allocations: 16.5 kB / 288 MB, free: 1.227 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01507, allocations: 3.938 kB / 288 MB, free: 1.223 MB / 266.7 MB Notification: Performance of Templates: time 0.006016/0.02108, allocations: 5.008 MB / 293 MB, free: 12.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.9734152029268444]