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.001629/0.001629, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001272/0.001272, allocations: 160.5 kB / 24.55 MB, free: 20 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.995/0.995, allocations: 177 MB / 204.8 MB, free: 5.594 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.834e-06/1.834e-06, allocations: 3.938 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.82e-05, allocations: 2.312 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002226/0.002255, allocations: 1.525 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.003746, allocations: 0.8692 MB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.003805, allocations: 0 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.003909, allocations: 3.938 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.004002, allocations: 27.78 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.004301, allocations: 43.95 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.004489, allocations: 127.7 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004601, allocations: 20.16 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.005121, allocations: 0.5927 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.005265, allocations: 75.73 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.005308, allocations: 12 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.005335, allocations: 8 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.00543, allocations: 59.78 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.005525, allocations: 59.72 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.005849, allocations: 282.9 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.005854, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005856, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.005864, allocations: 4 kB / 276.6 MB, free: 13.73 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.0008428/0.006707, allocations: 0.7824 MB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.006749, allocations: 15.98 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.006834, allocations: 52.67 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.007053, allocations: 215 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.007078, allocations: 4.375 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.007097, allocations: 8.375 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.007424, allocations: 257.2 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.007431, allocations: 192 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.007449, allocations: 8.312 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.007458, allocations: 3.938 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.00757, allocations: 170.8 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.00813, allocations: 0.4915 MB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.008298, allocations: 185.8 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.008409, allocations: 178.5 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.008416, allocations: 3.938 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.00864, allocations: 331.1 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.008642, allocations: 0 / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006087/0.00925, allocations: 0.6815 MB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.009326, allocations: 174.2 kB / 280.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.009861, allocations: 0.6193 MB / 280.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.009885, allocations: 33.7 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.00995, allocations: 155.8 kB / 280.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.009977, allocations: 19.86 kB / 281 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.01006, allocations: 91.16 kB / 281 MB, free: 8.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01017, allocations: 0.4923 MB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01028, allocations: 162.8 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.01039, allocations: 193 kB / 281.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.01057, allocations: 336.9 kB / 282.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01057, allocations: 4 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003535/0.01093, allocations: 494.7 kB / 282.7 MB, free: 7.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.011, allocations: 129.9 kB / 282.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.011, allocations: 0 / 282.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01102, allocations: 3.984 kB / 282.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.191e-05/0.01104, allocations: 3.938 kB / 282.8 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01104, allocations: 4 kB / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.01114, allocations: 8 kB / 282.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.01119, allocations: 56.05 kB / 282.9 MB, free: 6.789 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.00024/0.01143, allocations: 405.4 kB / 283.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.01147, allocations: 51.7 kB / 283.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.01154, allocations: 55.08 kB / 283.4 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.01154, allocations: 0 / 283.4 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01155, allocations: 4 kB / 283.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01155, allocations: 0 / 283.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.01227, allocations: 0.9594 MB / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01227, allocations: 0 / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-06/0.01228, allocations: 0 / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01228, allocations: 0 / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.0123, allocations: 16 kB / 284.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.0123, allocations: 3.984 kB / 284.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01231, allocations: 0 / 284.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.01275, allocations: 0.7081 MB / 285.1 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.01296, allocations: 181.4 kB / 285.3 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.013, allocations: 12 kB / 285.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.01309, allocations: 11.98 kB / 285.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.01319, allocations: 27.95 kB / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.01323, allocations: 56 kB / 285.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003464/0.01357, allocations: 430.7 kB / 285.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 4 kB / 285.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.01377, allocations: 40 kB / 285.8 MB, free: 3.66 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.000122/0.0139, allocations: 119.1 kB / 286 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01427, allocations: 0.5964 MB / 286.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01427, allocations: 4 kB / 286.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.01446, allocations: 420.1 kB / 287 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.01484, allocations: 133.2 kB / 287.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.01562, allocations: 0.7564 MB / 287.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.0157, allocations: 95.83 kB / 287.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.01574, allocations: 12.7 kB / 288 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.01577, allocations: 12.5 kB / 288 MB, free: 1.266 MB / 266.7 MB Notification: Performance of SimCode: time 1.442e-06/0.01577, allocations: 3.938 kB / 288 MB, free: 1.262 MB / 266.7 MB Notification: Performance of Templates: time 0.006497/0.02227, allocations: 5.229 MB / 293.2 MB, free: 11.99 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.8005657037720084]