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.001576/0.001576, allocations: 112.5 kB / 18.45 MB, free: 4.543 MB / 14.72 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.001365/0.001365, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 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 0.001586/0.001586, allocations: 51.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 53.33 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003069/0.1105, allocations: 1.521 MB / 429 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1128, allocations: 0.8965 MB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.1129, allocations: 0 / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.113, allocations: 7.938 kB / 429.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1131, allocations: 15.86 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1134, allocations: 51.88 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1137, allocations: 127.7 kB / 430.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1138, allocations: 12.22 kB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.1146, allocations: 0.581 MB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1147, allocations: 79.67 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.1148, allocations: 16 kB / 430.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.1148, allocations: 8 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1149, allocations: 67.7 kB / 430.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1151, allocations: 111.2 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.1155, allocations: 374.4 kB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1155, allocations: 0 / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1155, allocations: 0 / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.1155, allocations: 0 / 431.3 MB, free: 388 kB / 350.1 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.1857/0.3012, allocations: 0.7291 MB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3013, allocations: 12.28 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.3014, allocations: 40.39 kB / 432.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3017, allocations: 272.8 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3017, allocations: 11.31 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.3017, allocations: 11.59 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.3021, allocations: 125.7 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3021, allocations: 0 / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3021, allocations: 8.297 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3021, allocations: 1.25 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3023, allocations: 60.83 kB / 432.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.3029, allocations: 460.8 kB / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3031, allocations: 79.34 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3032, allocations: 65.33 kB / 433.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3032, allocations: 1.25 kB / 433.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.3036, allocations: 214.2 kB / 433.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3036, allocations: 1.531 kB / 433.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007711/0.3043, allocations: 478.2 kB / 433.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3044, allocations: 167.8 kB / 434 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.3049, allocations: 0.5132 MB / 434.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3049, allocations: 26.83 kB / 434.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.305, allocations: 100.7 kB / 434.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.305, allocations: 35.38 kB / 434.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3051, allocations: 81.92 kB / 434.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.3052, allocations: 329.2 kB / 435.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3053, allocations: 61.34 kB / 435.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3054, allocations: 76.14 kB / 435.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3057, allocations: 350.2 kB / 435.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3057, allocations: 0 / 435.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004883/0.3062, allocations: 385.5 kB / 436 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.3062, allocations: 127.7 kB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.3062, allocations: 3.625 kB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3063, allocations: 2.719 kB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.241e-05/0.3063, allocations: 1.344 kB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3063, allocations: 4.688 kB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3064, allocations: 12.52 kB / 436.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.3065, allocations: 52.97 kB / 436.2 MB, free: 8.824 MB / 350.1 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.0002476/0.3067, allocations: 372.4 kB / 436.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.3068, allocations: 39.95 kB / 436.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.3069, allocations: 62.77 kB / 436.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3069, allocations: 1.125 kB / 436.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3069, allocations: 0 / 436.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3069, allocations: 0.5625 kB / 436.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.3077, allocations: 0.8224 MB / 437.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3077, allocations: 2.844 kB / 437.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-06/0.3077, allocations: 4.109 kB / 437.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3077, allocations: 1.312 kB / 437.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.3077, allocations: 15.06 kB / 437.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3077, allocations: 1.375 kB / 437.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3077, allocations: 3.938 kB / 437.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.3083, allocations: 0.5396 MB / 438 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.3086, allocations: 249.4 kB / 438.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.3086, allocations: 11.91 kB / 438.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3088, allocations: 11.86 kB / 438.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3089, allocations: 24.88 kB / 438.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.3089, allocations: 68.03 kB / 438.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.3093, allocations: 390.1 kB / 438.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3093, allocations: 0 / 438.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3096, allocations: 44.75 kB / 438.8 MB, free: 7.289 MB / 350.1 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.00012/0.3098, allocations: 115.4 kB / 438.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.3102, allocations: 373.5 kB / 439.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3102, allocations: 0 / 439.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3104, allocations: 302.5 kB / 439.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.3111, allocations: 125 kB / 439.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3122, allocations: 0.7019 MB / 440.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3125, allocations: 0.7932 MB / 441.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3125, allocations: 11.75 kB / 441.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3125, allocations: 5.047 kB / 441.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Templates: time 0.005726/0.3182, allocations: 2.691 MB / 443.9 MB, free: 5.129 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/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: 7.5747487190237734]