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.001078/0.001078, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001785/0.001785, allocations: 161 kB / 24.56 MB, free: 16 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.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.894e-06/1.894e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.71e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002369/0.002406, allocations: 1.54 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004041, allocations: 0.8535 MB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.004096, allocations: 0 / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004204, allocations: 15.86 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.004287, allocations: 27.78 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.004574, allocations: 47.88 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004757, allocations: 127.7 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.00488, allocations: 24.14 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.005363, allocations: 0.5889 MB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.005477, allocations: 63.81 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.005513, allocations: 12 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.005538, allocations: 8 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.48e-05/0.005623, allocations: 71.66 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.005705, allocations: 55.78 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.005982, allocations: 290.9 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005986, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.005988, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.005995, allocations: 0 / 276.7 MB, free: 13.8 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.0006867/0.006682, allocations: 0.7824 MB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006722, allocations: 8.031 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.0068, allocations: 44.7 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.007021, allocations: 222.9 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.007049, allocations: 8.375 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.007073, allocations: 8.375 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.007399, allocations: 245.7 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.007411, allocations: 4.188 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.007431, allocations: 4.359 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.007441, allocations: 7.938 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.007562, allocations: 170.3 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.008136, allocations: 0.4915 MB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.008299, allocations: 201.8 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.00841, allocations: 174.5 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.008418, allocations: 7.938 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.00864, allocations: 315.2 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.008641, allocations: 0 / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005865/0.009228, allocations: 0.6932 MB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.00929, allocations: 162.2 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.00984, allocations: 0.6233 MB / 280.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.009862, allocations: 33.69 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.009923, allocations: 147.8 kB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.009951, allocations: 27.95 kB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/0.01003, allocations: 91.11 kB / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01016, allocations: 0.4923 MB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.01027, allocations: 170.8 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.01039, allocations: 194.1 kB / 282 MB, free: 8.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.01059, allocations: 333 kB / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0106, allocations: 0 / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003856/0.01098, allocations: 499 kB / 282.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.01105, allocations: 122.8 kB / 282.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01106, allocations: 0 / 282.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01108, allocations: 4.031 kB / 282.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.0111, allocations: 4 kB / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01111, allocations: 0 / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01122, allocations: 15.98 kB / 282.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.01127, allocations: 55.94 kB / 283 MB, free: 6.855 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.0002581/0.01153, allocations: 393.2 kB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.01158, allocations: 51.7 kB / 283.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.01165, allocations: 55.09 kB / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01166, allocations: 0 / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01166, allocations: 0 / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01167, allocations: 4 kB / 283.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.0124, allocations: 0.9554 MB / 284.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.0124, allocations: 7.984 kB / 284.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-06/0.01241, allocations: 0 / 284.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01241, allocations: 3.938 kB / 284.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.01243, allocations: 16 kB / 284.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01243, allocations: 0 / 284.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01243, allocations: 0 / 284.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/0.0129, allocations: 0.7043 MB / 285.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.01312, allocations: 181.6 kB / 285.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.01316, allocations: 20 kB / 285.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.01324, allocations: 15.92 kB / 285.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.01335, allocations: 27.97 kB / 285.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.01339, allocations: 52 kB / 285.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003474/0.01374, allocations: 430.7 kB / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01374, allocations: 0 / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.01393, allocations: 40 kB / 285.9 MB, free: 3.742 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.0001284/0.01406, allocations: 118.9 kB / 286 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004376/0.01449, allocations: 0.5965 MB / 286.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.0145, allocations: 0 / 286.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.01473, allocations: 428 kB / 287 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.01517, allocations: 132.8 kB / 287.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.01602, allocations: 0.7524 MB / 287.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.0161, allocations: 95.27 kB / 288 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.01613, allocations: 12.7 kB / 288 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.01617, allocations: 16.56 kB / 288 MB, free: 1.348 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01617, allocations: 4 kB / 288 MB, free: 1.344 MB / 266.7 MB Notification: Performance of Templates: time 0.006606/0.02277, allocations: 5.02 MB / 293.1 MB, free: 12.29 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1364749521017075]